I found a fix to this problem as I was experiencing it as well. You need
to make the changes you mentioned below (negating the conditions of the
two if statements - this is a bug that appears to have cropped up when
DVD ISO and directory support was added) AND you need to clear freevo's
cache. I accomplished this just by deleting the vfs directory in your
Freevo cache directory (defaults to <HOME>/.freevo).

-Karee Brown

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans
Meine
Sent: Thursday, May 13, 2004 6:08 PM
To: [EMAIL PROTECTED]
Subject: [Freevo-devel] No DVD with Freevo 1.5.0-rc2 and mmpython 0.4.2


Hi!

First of all, I want to say congratulations! (Feel free to skip to the
next 
paragraph.) I just bought a Hermes-Barebone-based PC for our living
room, and 
tried MythTV first because it was said to be more advanced. (Actually, I

found that sad, because I love Python and thought how wonderful it would
have 
been if I could use my Python-knowledge to fiddle around with my
Media-System 
and customize it. Then again, that would've been another time-killer..
;-) ) 
However, I soon wondered why with MythTV one needs a separate Plugin for
all 
media types, resp. why all those plugins would plug themselves into the
main 
menu separately. I dreamt of a system which would auto-detect CDs/DVDs
as 
soon as I inserted them and would ideally handle everything from
single-AVIs 
CDs over Audio-CDs, (S)VCDs to DVDs. But in my wildest dreams I would
not 
have imagined Freevo to really be able to do so! :-)

Back to my problem: DVDs do not work - you seem to know the symptoms
from 
several freevo-users posts so I only say: It was detected as data-CD.
This 
was with 1.5.0-rc1, -rc2 and mmpython-0.4.1/0.4.2 respectively (on
Gentoo). 
Finally, I digged into mmpython and mediatest and found out that DVDInfo

wasn't registered with the Factory. After some more research I stumbled
over 
this:
--------------------------------------------------
[1] Groover:/usr/lib/python2.3/site-packages/mmpython -> tail
disc/dvdinfo.py

if mmpython.gettype('video/dvd', mediainfo.EXTENSION_DEVICE):
    mmpython.registertype( 'video/dvd', mediainfo.EXTENSION_DEVICE,
                           mediainfo.TYPE_AV, DVDInfo )

if mmpython.gettype('video/dvd', mediainfo.EXTENSION_DIRECTORY):
    mmpython.registertype('video/dvd', mediainfo.EXTENSION_DIRECTORY,
                          mediainfo.TYPE_AV, DVDInfo)

mmpython.registertype('video/dvd', ['iso'], mediainfo.TYPE_AV, DVDInfo)
--------------------------------------------------
Looking at gettype()/Factory.get(), I wonder if the if-conditions should
not 
be negated? If I insert a "not" in both cases, "python mediatest.py
/dev/dvd" 
finally gives some information on the inserted DVD. Still, Freevo
however 
displays "CD-1 [EL_MARIACHI]" in the menu and offers the .vob files for 
playing (which fails, because they're encrypted).

I have libdvdcss-1.2.8, libdvdread-0.9.4, and lsdvd-0.7 installed. I
even 
installed ifoinfo because one user on freevo-users said he did so. (Nice
prog 
though, similar to lsdvd.)

-- 
Ciao, /  /
     /--/
    /  / ANS


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to