[Freevo-devel] MMpython question

2004-09-19 Thread centraladmin
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

[Freevo-devel] mmpython question...

2004-09-14 Thread Aubin Paul
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'])

Re: [Freevo-devel] mmpython question

2004-02-29 Thread Tom Chance
--- Aubin Paul <[EMAIL PROTECTED]> wrote: > On Mon, Mar 01, 2004 at 03:04:57AM +, Tom Chance > wrote: > > >>> import mmpython > > >>> dvd = > > mmpython.Factory().create_from_device('/dev/dvd') > > >>> dvd.tracks > > [] > > > > The DVD drive spins, so it's accessing the disc, > but > > there'

Re: [Freevo-devel] mmpython question

2004-02-29 Thread Aubin Paul
On Mon, Mar 01, 2004 at 03:04:57AM +, Tom Chance wrote: > >>> 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

[Freevo-devel] mmpython question

2004-02-29 Thread Tom Chance
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

[Freevo-devel] mmpython question

2003-07-03 Thread Aubin Paul
How can I get mmpython to cache entries into CACHEDIR/mmpython when I'm not in Freevo. I want musicsqlimport.py to add the entries since it's parsing them anyway... the only references I could find were in src/directory.py, but I'm not clear on how they work. -