Bugzilla – Bug 157422
/media/xmms_audio_cd directory useless
Last modified: 2006-03-13 22:37:39 UTC
This directory is always there, even if there´s no CD in the drive. Even if I insert a cd nothing is in this dir so IMHO it´s rather useless. Or am I wrong here?
This directory is created after the first start of xmms - without playing any file. Should be removed, I'm not sure how it makes sense mounting an CDDA anyway ;)
The directory is required to be able to play Audio CD in XMMS. Hack in XMMS is incompatible with auto mounting and requires a fixed path to CD. If user browses this directory in the xmms, CD-Audio contents is displayed there (only in XMMS). The directory could have any location, but /media is the place, where most people will search it. For example of use please see /usr/share/applications/xmms_audio_cd.desktop. For more see bug 60258.
If it requires a fixed path for the CD there are paths like /media/dvd and /media/dvdrecorder in addition to the dynamic folders. Also other apps like cedega which need fixed paths work fine with those. So why can´t you use this?
In 9.x, it will not work in XMMS, because subfs conflicts with xmms. In 10.x it will not work, because media manipulation (HAL, D-BUS) will never use it, because it has not proper extended attributes. In 10.1, /media is empty by default.
On my 10.1 beta I´ve both /dev/dvd and /dev/dvdrecorder, so it isn´t empty *g
Sorry it´s called /media/disk whenever a CD is inserted. Can´t xmms live with that?
No. I can preconfigure xmms to use /media/dvd or /media/disk. But HAL/D-BUS creates them dynamically depending on available hardware and desktop configuration, so xmms will not play for people with /media/cdrecoreder or /media/dvdram. I guess that dedicated static directory is a best solution. And vice vera, HAL/D-BUS will never use directories created by other applications.
Yes but the new naming scheme uses (at least on my system) /media/disk no matter whether it´s a dvd drive recorder or cd drive/recorder. So this should IMHO work.
I guess that use of /media/disk is not a feature, but a bug 157626. It should use /media/dvd, /media/dvdram, /media/dvdrecorder, /media/cdrom, /media/cdrecorder depending on type of hardware. Additionally, for audio CD, HAL has no need to create this entry. I don't know, whether it does just now. But you can simply remove /media/xmms_audio_cd, change xmms configuration and try it. But from my point of view, static entry is optimal. HAL cannot guarantee this static access point.