Jaap Struyk wrote:
> Op zo 06-06-2004, om 12:37 schreef Dirk Meyer:
>
>> Try the just released version of freevo and mmpython. They do some
>> extra checks.
>
> Sorry Dirk, nothing changed for my titanic disc :-(
> The debug info from freevo doesn't show up anything, is there a way to
> do a step by step manual detection, the same way freevo does?
No really. The only manual way is mminfo, but that seems to work for
you. Very strange. Freevo does the same as mminfo. But maybe we can
find it with some extra debug messages. Every time you test, please
make sure you removed the mmpython cache for that disc.
Now, open src/util/mediainfo.py. Search for the function 'disc_info'.
And now replace it with the following function with more debug:
def disc_info(media):
"""
return mmpython disc information for the media
"""
type, id = cdrom_disc_id(media.devicename)
if not id:
# bad disc, e.g. blank disc
return {}
print '*** disc info check ***'
print type, id
cachedir = os.path.join(config.OVERLAY_DIR, 'disc/metadata')
cachefile = os.path.join(cachedir, id + '.mmpython')
print cachedir
print cachefile
print media.devicename
if os.path.isfile(cachefile):
print 'cached data'
mmdata = util.read_pickle(cachefile)
else:
print 'parse with mmpython'
mmdata = mmpython.parse(media.devicename)
if not mmdata:
print '*****************************************'
print 'Error detecting the disc'
print 'Please contact the developers'
print '*****************************************'
else:
print mmdata
util.save_pickle(mmdata, cachefile)
cachefile = os.path.join(cachedir, id + '.freevo')
leave the rest of the function as it is!!!
Send me the debug messages.
Dischi
--
UNIX _is_ user friendly - it's just selective about who its friends are!
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users