This seems to be an issue with the way gnome mounts audio CDs. Opening VLC and selecting audio CD (/dev/cdrom or /dev/sr0) will play the CD fine.
edit: How to recreate.
Make VLC default for audio CDs in Nautilus. Insert AudioCD
or
Right click mounted AudioCD. Select Play in VLC
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason:Topic automatically closed 6 months after creation. New replies are no longer allowed.
Well, mine looks a little different (see screenshot) but you should be able to work with that, what do you get when you click on Custom? You could use the same command that mine has.
The problem isn't getting VLC to open when media is inserted. It's getting past this error. The audio CD isn't mounted in a folder but is handled by gnome. For some reason, VLC can't open this and spits the following error. Not sure what log it is referring to.
Robert, your not understanding me. Please read my first post. I understand how get vlc to open a drive. This issue is gvfs and passing this mount to non aware gvfs programs.
drzoo2 wrote:Robert, your not understanding me. Please read my first post. I understand how get vlc to open a drive. This issue is gvfs and passing this mount to non aware gvfs programs.
Sorry, don't use virtual file system. Wouldn't know where to begin, and you did not mention that in the first Post. I answered according to what you did write, VLC and AudioCD Player.
I took at look at this thread, and since I don't often play CD's on my pc I thought I'd grab one and try it and I'm getting the same error. It does open VLC, but it has that error and when I hit the play it comes up with the same error. I right clicked on the CD that showed up on the desktop, and on the 'open with' tab it shows: Select an application to open / and other files of type "unknown". The desktop icon does show 'Audio Disc'.
So it has something to do with the associations (mime types?). Of course I'm also not sure where gvfs may figure into it, either. Maybe a bug report is in order? I'm going to log into my lmde 32bit install from Sept and see what happens (as soon as this song is over!).
Edit: I logged into the 32bit lmde, and when I inserted the CD it offered the option to copy the cd and wanted to know the medium to copy it to. The desktop icon shows 'Audio Disc' under a shape of a CD. If I right click on it and select 'open with > VLC' it gives the same error: "Your input can't be opened: VLC is unable to open the MRL 'cdda://sr0/'. Check the log for details." (same error as before). I just tried an external usb dvd drive, since my internal LG drive can be a little flaky with DVD's, and it gave me an error that there were no audio files on the disk, then that went away and it's offering the option to 'Copy CD/DVD'. So basically, same issue on both installs.
Last edited by CiaW on Sat Jan 01, 2011 8:04 pm, edited 1 time in total.
Robert, My first post wasn't as clear as it should have been. My apologies. If your using gnome, your using the gnome virtual file system. Look for the folder .gvfs in your home directory. This is a lot like mounting a network share in gnome and trying to browse it in vlc or other non-gnome programs.
drzoo2 wrote:Robert, My first post wasn't as clear as it should have been. My apologies. If your using gnome, your using the gnome virtual file system. Look for the folder .gvfs in your home directory. This is a lot like mounting a network share in gnome and trying to browse it in vlc or other non-gnome programs.
My VLC works fine with the fixes provided here. We are talking about VLC in LMDE x86_64? I just added the XFCE desktop, but it is still basically Gnome, nothing in Gnome has been removed.
You have reported the "good news" of the upgrades however does this address the problem reported on this thread?
I have the same issue on two separate installations of Ubuntu 10.04 and I was hoping that i might get some pointers why this is widely reported but no definitive resolution?
It might not be the fix everybody wants, but as far as I can see there's two issues here:
- The default application for playing/ripping audio CDs should be banshee (it's set as rhythmbox and because it can't find it, VLC gets the call)
- VLC fails to play the right device
This will be fixed in the stable release. If you want to fix it in your installation, edit /etc/gnome/defaults.list, and replace all occurences of rhythmbox.desktop with banshee-audiocd.desktop.
Inserting an Audio CD should then launch Banshee in CDDA mode and play it automatically. No need to restart your Gnome session.