[Freevo-devel] MMpython question
Hi all. I am adding some features to the matroska parser of mmpython, notably the chapters list. I am now able to get chapter name and position, but how to set it into the MEDIAINFO interface ? I try to look in the DVD files, but chapter usage thru mmpython is not clear for me. Thanks, Sylvain. --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] mmpython question...
What is the purpose of this (from mediainfo.py) def correct_data(self): correct trackof to be two digest if self['trackof']: try: if int(self['trackno']) 9: self['trackno'] = '%s' % int(self['trackno']) except: pass I understand that it (erroneously) adds a zero to digits 1-8 (not 9), but why would we do this anyway? For sorting, we can add a zero - and we do in freevo itself - , but I don't know if we should be changing what is reported. Aubin --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
[Freevo-devel] mmpython question
Hello, I'm playing around with mmpython, and I have a question about the dvd part. Sorry if this is the wrong place, but this is what the mmpython project page suggested. So, I do the following with a dvd in the drive: import mmpython dvd = mmpython.Factory().create_from_device('/dev/dvd') dvd.tracks [] The DVD drive spins, so it's accessing the disc, but there's no information gathered. I'm guessing that either: 1 - I need to do more work to get the DVD info 2 - mmpython isn't working Which is true? Can somebody help me out with it, as the documentation is, well, near-to useless, and I'd rather somebody explain it than spend hours jumping between files trying to figure it out. Regards, Tom = True security is to be found in social solidarity rather than in isolated individual effort - Fyodor Dostoyevsky ___ Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel