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
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'])
--- 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'
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
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
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.
-