Meneer Jansen wrote:
> 
> 
> 2009/5/31 Meneer Jansen <meneerjanse...@gmail.com
> <mailto:meneerjanse...@gmail.com>>

>     Thank you for your kind reply and for the patch. :-) I tried to
>     apply the patch by coping it into the source-tree root of Freevo and
>     by typing:
> 
>     patch -p0 config-romdrive-detect.patch
> 
>     And then I installed Freevo again ("python setup.py install"). I
>     hope that is how one applies a patch...

You should see some log messages at the start of freevo to see if this
has been applied.

>     But unfortunately it does not work (yet). I tried to set all
>     settings the way you recommended them. My cdrom setting in
>     /etc/fstab is still like above. I set the the following setting in
>     /etc/freevo/local_conf.py like you recommended:
> 
> 
>     ROM_DRIVES = [ ('/media/cdrom0', '/dev/hdc', 'DVD') ]
> 
>     And I set:
> 
>     ROM_DRIVES_AUTOFS = True

Try this:
in /etc/fstab add another entry for the DVD drive, say /mnt/dvd, make a
/mnt/dvd directory.

Set the following in local_conf.py
ROM_DRIVES_AUTOFS = False
ROM_DRIVES = [ ('/mnt/dvd', '/dev/hdc', 'DVD') ]

>     The auto mounter from Debian indeed mounts my DVD drive at
>     /media/cdrom0 (I checked w/ my file browser). When I insert a DVD
>     the video_ts and audio_ts folders show up in /media/cdrom0 (and in
>     the symlink to it called "/media/cdrom"). But freevo still will not
>     play my DVD's. Freevo still only shows the folders that are on the
>     DVD. It is not, like you suggested, due to some sort of copy
>     protection. Because all my DVD's show up like that in Freevo, and
>     they used to play just fine in Freevo and they still play just fine
>     in Xine. Strange, isn't it? Can it be some "code" left behind from
>     an old Freevo version on my computer? It reminds me of the trouble I
>     had with playing an AVI file from a DVD-ROM. The files showed up in
>     Freevo, but wouldn't play (somehow Freevo showed the filenames, but
>     could not find the files themselves (?)). Had someting to do w/ the
>     two romdrives settings in local_conf.py. Could it be a conflict
>     between /etc/freevo/local_conf.py and /home/my_name/.freevo/freevo.conf?
> 
>     The errors on the command line when I try to play a dvd and try to
>     eject it (which often does not work in Freevo) etcetera are (I hope
>     this helps):
> 
> 
>     [CODE]
>     Freevo 1.9.0 ready
>     WARNING: Drive was mounted out of rom_drives.py: /media/cdrom0
>     WARNING: Inconsistency regarding the mount status of: /media/cdrom0
>     WARNING: opening '/dev/hdc' failed: [Errno 5] Input/output error"

Not quite sure what an input/output error is caused by. Could be a
driver problem or a disk problem. I don't think that this is freevo
related but could be.

>     Freevo 1.9.0 exited

This is a nasty backtrace, you may need to check the packages in your
distro. It looks like a possible problem with libX11 or perhaps libSDL,
pygame or even the Python build. Since you are using Python-2.5 make
sure that you are using 2.5.4.

>     *** glibc detected *** python: free(): invalid pointer: 0x099c5f88 ***
>     ======= Backtrace: =========
>     /lib/i686/cmov/libc.so.6[0xb7da3624]
>     /lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7da5826]
>     /usr/lib/libX11.so.6[0xb6e3e81e]
>     /usr/lib/libX11.so.6(XrmDestroyDatabase+0x85)[0xb6e55a65]
>     /usr/lib/libX11.so.6(_XFreeDisplayStructure+0x141)[0xb6e40601]
>     /usr/lib/libX11.so.6(XCloseDisplay+0xf6)[0xb6e2d1b6]
>     /usr/lib/libSDL-1.2.so.0[0xb7a57d7e]
>     /usr/lib/libSDL-1.2.so.0[0xb7a61b71]
>     /usr/lib/libSDL-1.2.so.0(SDL_VideoQuit+0x50)[0xb7a4fc70]
>     /usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x64)[0xb7a25584]
>     /usr/lib/python2.5/site-packages/pygame/base.so[0xb7ae89ce]
>     /usr/lib/python2.5/site-packages/pygame/base.so[0xb7ae8a8a]
>     python(Py_Finalize+0x167)[0x80ed617]
>     python(Py_Main+0x5ef)[0x8058d0f]
>     python(main+0x22)[0x80586f2]
>     /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7d4b455]
>     python[0x8058631]
>     ======= Memory map: ========
>     08048000-08143000 r-xp 00000000 03:03 1491132    /usr/bin/python2.5
>     08143000-08168000 rw-p 000fa000 03:03 1491132    /usr/bin/python2.5
>     08168000-0816e000 rw-p 08168000 00:00 0
>     097ba000-0a35a000 rw-p 097ba000 00:00 0          [heap]
>     b34d6000-b3657000 rw-p b34d6000 00:00 0
>     b3769000-b376a000 ---p b3769000 00:00 0
>     b376a000-b3f6a000 rw-p b376a000 00:00 0
>     b3f6a000-b3f72000 r-xp 00000000 03:03 1838724   
>     /usr/lib/python2.5/lib-dynload/_elementtree.so
>     b3f72000-b3f73000 rw-p 00008000 03:03 1838724   
>     /usr/lib/python2.5/lib-dynload/_elementtree.so
>     b3f73000-b40a6000 r-xp 00000000 03:03 1493887   
>     /usr/lib/libxml2.so.2.6.32
>     b40a6000-b40ab000 rw-p 00132000 03:03 1493887   
>     /usr/lib/libxml2.so.2.6.32
>     b40ab000-b40ac000 rw-p b40ab000 00:00 0
>     b45dd000-b45ec000 r-xp 00000000 03:03 770075     /lib/libbz2.so.1.0.4
>     b45ec000-b45ed000 rw-p 0000f000 03:03 770075     /lib/libbz2.so.1.0.4
>     b4604000-b4612000 r-xp 00000000 03:03 1503491   
>     /usr/lib/libid3tag.so.0.3.0
>     b4612000-b4614000 rw-p 0000d000 03:03 1503491   
>     /usr/lib/libid3tag.so.0.3.0
>     b461d000-b4620000 r-xp 00000000 03:03 1852013   
>     /usr/lib/imlib2/loaders/bmp.so
>     b4620000-b4621000 rw-p 00002000 03:03 1852013   
>     /usr/lib/imlib2/loaders/bmp.so
>     b4621000-b4628000 r-xp 00000000 03:03 1504598   
>     /usr/lib/libgif.so.4.1.6
>     b4628000-b4629000 rw-p 00006000 03:03 1504598   
>     /usr/lib/libgif.so.4.1.6
>     b4629000-b462a000 r-xp 00000000 03:03 1852015   
>     /usr/lib/imlib2/loaders/gif.so
>     b462a000-b462b000 rw-p 00001000 03:03 1852015   
>     /usr/lib/imlib2/loaders/gif.so
>     b49b8000-b49b9000 r-xp 00000000 03:03 1852012   
>     /usr/lib/imlib2/loaders/argb.so
>     b49b9000-b49ba000 rw-p 00000000 03:03 1852012   
>     /usr/lib/imlib2/loaders/argb.so
>     b49ba000-b49bd000 r-xp 00000000 03:03 1852016   
>     /usr/lib/imlib2/loaders/id3.so
>     b49bd000-b49be000 rw-p 00002000 03:03 1852016   
>     /usr/lib/imlib2/loaders/id3.so
>     b49be000-b49c0000 r-xp 00000000 03:03 1852017   
>     /usr/lib/imlib2/loaders/jpeg.so
>     b49c0000-b49c1000 rw-p 00001000 03:03 1852017   
>     /usr/lib/imlib2/loaders/jpeg.so
>     b49c1000-b49c3000 r-xp 00000000 03:03 1852018   
>     /usr/lib/imlib2/loaders/lbm.so
>     b49c3000-b49c4000 rw-p 00001000 03:03 1852018   
>     /usr/lib/imlib2/loaders/lbm.so
>     b49c4000-b49c6000 r-xp 00000000 03:03 1852019   
>     /usr/lib/imlib2/loaders/png.so
>     b49c6000-b49c7000 rw-p 00002000 03:03 1852019   
>     /usr/lib/imlib2/loaders/png.so
>     b49c7000-b49ca000 r-xp 00000000 03:03 1852020   
>     /usr/lib/imlib2/loaders/pnm.so
>     b49ca000-b49cb000 rw-p 00002000 03:03 1852020   
>     /usr/lib/imlib2/loaders/pnm.so
>     b49cb000-b49cd000 r-xp 00000000 03:03 1852021   
>     /usr/lib/imlib2/loaders/tga.so
>     b49cd000-b49ce000 rw-p 00001000 03:03 1852021   
>     /usr/lib/imlib2/loaders/tga.so
>     b49ce000-b49df000 r--p 00000000 03:03 1855160   
>     /usr/share/freevo/fonts/Vera.ttf
>     b49df000-b4a20000 rw-p b49df000 00:00 0
>     b4a20000-b4a61000 r-xp 00000000 03:03 1639672   
>     /usr/lib/python-support/python-libxml2/python2.5/libxml2mod.so
>     b4a61000-b4a66000 rw-p 00041000 03:03 1639672   
>     /usr/lib/python-support/python-libxml2/python2.5/libxml2mod.so
>     [/CODE]
> 
> 
> [UPDATE] When I try to play my video-DVD's, as if they were a DVD-ROM
> with AVI files on them, it sort of works. Here's what i did. I chose
> "browse local filesystems" and then I browsed to cdrom0. Now, when I
> press Enter, Xine plays the DVD! However, because the DVD is not
> recognized in Freevo's main Movie menu I can not view any info when I
> press E (for Extra Menu). That is, Freevo shows me the entries called:
> "DVD Title List, Full Description" etc. But when I press enter on one of
> them Freevo echoes "Directory is empty". Hence, no imdb ifo (yet)
> either. But we're getting pretty close to a solution, I think. :-)

Duncan

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to