On 1/7/07, mike lewis <[EMAIL PROTECTED]> wrote: > On 1/7/07, eccentric <[EMAIL PROTECTED]> wrote: > > On Sat, Jan 06, 2007 at 11:27:14PM +0100, Duncan Webb wrote: > > > Stephen Rowles wrote: > > > > Duncan Webb wrote: > > > >> Stephen Rowles wrote: > > > >> > > > >>> Hi all, > > > >>> > > > >>> I've just upgraded to 1.6.2 and dvd playback of iso images has stopped > > > >>> working. Freevo is launching xine using the file:/// location, when to > > > >>> play a DVD iso image it needs to launch using dvd:/// to correctly > > > >>> play > > > >>> back the dvd. > > > >>> > > > >>> Does anyone know what I need to adjust to make this work again? It > > > >>> worked fine before but now I cannot view any of my ripped DVD's :( > > > >>> > > > >> Try running freevo cache --rebuild > > > >> > > > >> Can't think of a reason why it should be needed, it has sorted out > > > >> similar problems in the past. > > > >> > > > >> Duncan > > > > Thanks for the suggestion, but that hasn't worked, it still tries to use > > > > the file:/// location to play the iso image. :( > > > > > > > > Any other suggestions? > > > > > > I'm pretty certain it has to do with the cache, here's the code in xine > > > that does this: > > > if item.mode == 'dvd' and hasattr(item, 'filename') and \ > > > item.filename and item.filename.endswith('.iso'): > > > # dvd:///full/path/to/image.iso/ > > > command.append('dvd://%s/' % item.filename) > > > > > > You could add a: > > > print 'item.mode:', item.mode just before the if and aligned to start in > > > the same column as the if. line 151 of src/video/plugins/xine.py. > > > > > > The only reasons that this would not work are because the mode is not > > > dvd and the file end with a non lowercase iso. > > > > > > IIRC the mode is somehow set by the cache. If in doubt delete the > > > /var/cache/freevo/mediainfo and maybe freevo.sqlite in the same > > > directory, then run freevo cache. > > > > > > Duncan > > > > > > I've been running 1.7rc1 and just upgraded to 1.7rc2 and finally set out > > to get iso images working as I was having the same problem since > > upgrading from 1.5. > > > > I ended up fixing the problem by editing video/videoitem.py and changing > > line 167 from: > > elif url.endswith('.iso') and self.info['mime'] == 'video/dvd': > > to > > elif url.endswith('.iso'): > > > > The self.info['mime'] value is blank in my case, and thus it's not > > setting the item.mode to 'dvd'. > > > > This should probably be fixed by finding out why the mime value isn't > > set properly, but I'm very lazy and now it's working... > > > Upgrading to 1.7rc2 I am now left in a state where freevo no longer > plays my dvd iso'scorrectly either. Same issue, it's playing them as > a file instead. > > Here is the output from mminfo, which I think is the cause of the problem.. > > --- > [EMAIL PROTECTED]:/root$ sudo mminfo /media/usbdisk/movies/Robots.iso > Password: > kaa media metadata info > > /media/usbdisk/movies/Robots.iso > No Match found > --- > > However, it plays fine in both mplayer and xine when called as a DVD. > > Tips?? > > Mick
A bit more info (mminfo -d) --- [EMAIL PROTECTED]:/root$ sudo mminfo -d /media/usbdisk/movies/Robots.iso kaa media metadata info Traceback (most recent call last): File "/usr/bin/mminfo", line 84, in ? a = max(0, min(int(a), 2)) ValueError: invalid literal for int(): /media/usbdisk/movies/Robots.iso [EMAIL PROTECTED]:/root$ sudo mminfo /media/usbdisk/movies/Robots.iso kaa media metadata info /media/usbdisk/movies/Robots.iso No Match found --- Mick > > > Hope that helps, > > Jesse > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Freevo-users mailing list > > Freevo-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/freevo-users > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users