kaa.metadata starts kaa main loop?

[email protected]
Newsgroups gmane.comp.video.freevo.devel
Message-ID <[email protected]>
Hi,

I am trying to use kaa.metadata to read some data from multimedia files.
Since it is not a freevo related project, I have no use for most of the rest of kaa. What I do is basically:

   from kaa import metadata
   meta = metadata.parse(file)

The problem I have with this is that kaa seams to start some sort of signals handlers and other mainloop stuff that, in my case, prevents my program to quit properly.

    reactor.run()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1165, in run
    self.mainLoop()
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1177, in mainLoop
    self.doIteration(t)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/epollreactor.py", line 180, in doPoll
    l = self._poller.wait(len(self._selectables), timeout)
  File "/usr/lib/python2.6/dist-packages/kaa/main.py", line 313, in signal_handler
    notifier.shutdown()
  File "/usr/lib/python2.6/dist-packages/kaa/nf_wrapper.py", line 137, in shutdown
    sys.exit(0)
exceptions.SystemExit: 0

Has anyone any advice on how to prevent this?
Also, what's the point on having a metadata library if it depends so heavily on kaa as a whole?

Thanks,
Marcus
-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.