Ljubomir Simin wrote: > On Sunday 02 September 2007 19:44, Duncan Webb wrote: >> Ljubomir Simin wrote: >>> Hi! >>> >>> My video DVDs are detected and played properly, as well as audio CDs. >>> I would however like to be able to browse data CDs and DVDs in video >>> and music browsers, the same way I'm browsing local files. It's >>> possible to achive with automounter and a symlink to /media/cdrom, but >>> I would like to do it I a proper freevo way. However whenever I insert >>> data disc, CD icon keeps being grayed out. Where should I start >>> debugging the problem? >> I'm not sure that this is working but it should work with the >> ROM_DRIVES, eg: >> ROM_DRIVES = [ >> ('/mnt/dvd', '/dev/hdc', 'DVD'), >> ('/mnt/dvdram', '/dev/hdd', 'DVD-RAM') >> ] >> >> May be some can confirm if this is working or not. >> >> Duncan >> >> > > I have to eat my words. After upgradiing to 1.7.3 it works. Kinda. > > I have this in my local_config.py: > ROM_DRIVES = [ ('/cdrom', '/dev/scd0', 'DVD') ] > > This is fstab: > /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
Instead of udf,iso9660 does auto work? > /cdrom is a softlink to /media/cdrom0 > > It works with some disks. But not with all. I've just inserted CD with mp3s, > and got "PLUGIN_EVENT IDENTIFY_MEDIA crashed" You can try this patch, it should stop this crash. svn diff src/audio/plugins/mplayer.py Index: src/audio/plugins/mplayer.py =================================================================== --- src/audio/plugins/mplayer.py (revision 9858) +++ src/audio/plugins/mplayer.py (working copy) @@ -170,7 +170,8 @@ """ Stop mplayer """ - self.app.stop('quit\n') + if self.app: + self.app.stop('quit\n') for p in self.plugins: command = p.stop() > Here's the logfile: > > file:///cdrom/Behemoth/Antichristian Phenomenon/01-01-Antichristian > Phenomemon.mp3 > not found! Here is what caused the crash in the first place, the file could not be found. > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in > eventhandler > app.eventhandler(event) > File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 750, in > eventhandler > if p.eventhandler(event=event, menuw=self): > File "/usr/lib/python2.5/site-packages/freevo/plugins/rom_drives.py", line > 162, in eventhandler > media.item.play_recursive(menuw=menuw) > File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 504, in > play_recursive > self.check_password_and_build(arg='playlist:recursive', menuw=menuw) > File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 535, in > check_password_and_build > self.build(arg=arg, menuw=menuw) > File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 603, in > build > display_type=display_type, random=False).play(menuw=menuw) > File "/usr/lib/python2.5/site-packages/freevo/playlist.py", line 382, in > play > self.current_item.play(menuw=menuw) > File "/usr/lib/python2.5/site-packages/freevo/audio/audioitem.py", line > 179, > in play > error = self.player.play() > File "/usr/lib/python2.5/site-packages/freevo/audio/player.py", line 98, in > play > self.item.eventhandler(event.PLAY_END) > File "/usr/lib/python2.5/site-packages/freevo/item.py", line 415, in > eventhandler > return self.parent.eventhandler(event, menuw) > File "/usr/lib/python2.5/site-packages/freevo/playlist.py", line 447, in > eventhandler > self.current_item.stop() > File "/usr/lib/python2.5/site-packages/freevo/audio/audioitem.py", line > 205, > in stop > self.player.stop() > File "/usr/lib/python2.5/site-packages/freevo/audio/player.py", line 129, > in > stop > self.player.stop() > File "/usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayer.py", > line 173, in stop > self.app.stop('quit\n') > AttributeError: 'NoneType' object has no attribute 'stop' These messages look a bit strange. > "/cdrom/Condemned, The -2007-akcija": [Errno 2] No such file or > directory: '/cdrom/Condemned, The -2007-akcija' > "/cdrom/Condemned, The -2007-akcija": [Errno 2] No such file or > directory: '/cdrom/Condemned, The -2007-akcija' What the real name of these files, does an ls /cdrom report the correct files names? Just for fun I installed the cdfs kernel driver then normal CDs are treated as files. Duncan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users