Le Fri, 18 May 2007 23:08:56 +0200, Tomasz Melcer <[EMAIL PROTECTED]> a écrit :
> Dnia Fri, 18 May 2007 22:56:46 +0200 > Dominique Michel <[EMAIL PROTECTED]> napisał(a): > > > Le Thu, 17 May 2007 17:34:12 +0200, > > Dominique Michel <[EMAIL PROTECTED]> a écrit : > > This will work only for mounted dvd. For movie dvd (normally not > > mounted), I made some more changes in fvwm-crystal.mplayer-wrapper > > and in Music-mplayer. The Load-DVD function will queue all the titles > > on the dvd. With can navigate between the titles with the mouse wheel > > on the third audio button. It doesn't use the broken libdvdnav, so it > > must work with any mplayer version that have dvd support compiled in. > > > > You can do the same from the command line with: > > > > mplayer -menu -fs dvd://1-`midentify dvd:// | grep ID_DVD_TITLES | > > sed -ne 's:ID_DVD_TITLES=::p'` > > > > midentify is a script that is installed with mplayer in /usr/bin. > I presume there's no way to make that entry show up only if there's > video dvd to play? It must be possible, but tricky. udev know when a dvd is inserted, so it must be possible to use it. The problem is at you cannot use udev directly but must use other programs such as layman if I understand well how udev is working. I use layman on my system to automount my CD-DVD. It is an option that can be set in its configuration to autolaunch a DVD movie with whatever program. It can be modified to set an environment variable that can be used by Crystal. But it will work only for users using layman and they would have to configure it by hand. Other users would have to set this environment variable in their .bashrc or .profile in order to get this entry. (Or maybe at a test for a non running layman instance can do that.) Besides, I find totem much better for dvds (and only > for dvds) due to that it handles dvd menus. > mmh, totem look to be interesting. It can be compiled against xlinelib or gstreamer. I get a few bad experiences with xinelib sound quality, but maybe at I will take the time to emerge and test it. The gentoo ebuild use gstreamer. > Damn, if I had more free time, i'd help you... > See you in the street! Dominique (I get this expression from this guy: http://www.davidrovics.com/. He is one of the greatest US song writers.) _______________________________________________ fvwm-crystal-users mailing list fvwm-crystal-users@gna.org https://mail.gna.org/listinfo/fvwm-crystal-users