CD autoplay: anyone have it working?

Post Reply
Message
Author
User avatar
Jerry3904
Administrator
Posts: 21949
Joined: Wed Jul 19, 2006 6:13 am

CD autoplay: anyone have it working?

#1 Post by Jerry3904 »

I tried Settings Manager > Removable Drives and Media > Multimedia tab, checking the box to Play Audio CDs when inserted, and using this command that was posted by the very knowledgeable ToZ on the Xfce Forum:

Code: Select all

/usr/bin/vlc cdda:///dev/cdrom
Did not work, even after logging out/in. Also tried substituting sr0 for cdrom without success.

Other suggestions?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
joany
Posts: 235
Joined: Mon Feb 12, 2007 1:45 pm

Re: CD autoplay: anyone have it working?

#2 Post by joany »

The only suggestion I have is that maybe /dev/cdrom isn't the right device for MX-14. I'm thinking /dev/sr0 or something of that nature might work.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.

User avatar
dolphin_oracle
Developer
Posts: 20022
Joined: Sun Dec 16, 2007 1:17 pm

Re: CD autoplay: anyone have it working?

#3 Post by dolphin_oracle »

it works for me if thunar has been started at least once already. that's in a VM. I haven't tried on a real system yet.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Administrator
Posts: 21949
Joined: Wed Jul 19, 2006 6:13 am

Re: CD autoplay: anyone have it working?

#4 Post by Jerry3904 »

joany wrote:The only suggestion I have is that maybe /dev/cdrom isn't the right device for MX-14. I'm thinking /dev/sr0 or something of that nature might work.
But thanks
Also tried substituting sr0 for cdrom without success.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 20022
Joined: Sun Dec 16, 2007 1:17 pm

Re: CD autoplay: anyone have it working?

#5 Post by dolphin_oracle »

just tried on my real laptop.

Code: Select all

vlc cdda:///dev/sr0


and

Code: Select all

vlc cdda:///dev/cdrom
worked on my system, but thunar had to be open for the autostart to take place. having the thunar daemon running in the background wasn't enough. Once Thunar had been open once, subsequent cd insertions work fine.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Administrator
Posts: 21949
Joined: Wed Jul 19, 2006 6:13 am

Re: CD autoplay: anyone have it working?

#6 Post by Jerry3904 »

On my system, only /dev/sr0 works and Thunar must be open every time.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Gaer Boy
Posts: 859
Joined: Sat Jun 06, 2009 6:06 am

Re: CD autoplay: anyone have it working?

#7 Post by Gaer Boy »

vlc cdda:///dev/sr0 works fine for me. I don't normally use Thunar, and I think I have only opened it on this install to disable auto-mounting of removable drives. I normally have SpaceFM open, but CD autoplay works whether it is open or not.

Phil

Gigabyte B550I Aorus Pro AX, Ryzen 5 5600G, 16GB, 250GB Samsung SSD (GPT), 2x1TB HDD (MBR), MX-21-AHS
Lenovo Thinkpad X220, dual-core i5, 4MB, 120GB Samsung SSD (GPT), MX-21

User avatar
Marinos
Posts: 4
Joined: Tue Nov 04, 2014 1:44 am

Re: CD autoplay: anyone have it working?

#8 Post by Marinos »

The setting "vlc cdda:///dev/cdrom" failed on me too. Actually VLC
displayed this message when an audio CD was inserted:

Code: Select all

Your input can't be opened:
          VLC is unable to open the MRL 'cdda:///dev/cdrom'.
          Check the log for details
But no details were given in VLC's log (it can be viewed by clicking
Tools -> Messages, preferably with the verbosity set to "2" (debug).)

However, the setting "vlc cdda:///dev/sr0" worked fine, even after
a fresh reboot, without Thunar having ever been launched ahead
of loading the audio CD.
It should be noted that in my system (MX-14.2 32-bit) the device
/dev/cdrom is clearly soft-linked to /dev/sr0, so it's really a mystery
why VLC didn't like /dev/cdrom. Probably a glitch.

Post Reply

Return to “Older Versions”