What happens if you unmount the cdrom before trying to play it?
I don't know about Linux, and I can't use the current version on my Mac because bpa followed an incorrect idea of mine. But his earlier version, which did work on the Mac, needed the cd to be unmounted manually before it was recognised in Squeezebox.
Results 11 to 20 of 480
Thread: Announce: CDplayer plugin
-
2008-05-06, 03:13 #11
- Join Date
- Apr 2005
- Posts
- 1,517
-
2008-05-06, 03:20 #12
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,689
I forgot users may have "Auto mounting" of CDs. I set my systems up to prompt for action on insertion of a DVD/CD/CDROM but usually the choice didn't affect cdda2wav operation on Linux.
I had to disable "autorun" on Windows for CDs that had extra "data" which seems to bypass the prompt mechanism.
-
2008-05-06, 03:22 #13P2 266MHz, ubuntu server 10.04 SBS 7.6.0 - r31284
AMD64x2 ubuntu 10.04, SBS 7.5.2 - r30889
Dell 10v WinXP SBS 7.5.2 - r31264
Dell 10v ubuntu netbook remix 10.04, SBS 7.6.0 - r30830
Players: Classic, Duet, Boom
-
2008-05-06, 03:25 #14
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,689
Try the different combination on a shell prompt - it is possible the cdda2wav has been altered in some way for Ubuntu.
The command to show CD Table of contents is
cdda2wav device=/dev/cdrom -verbose-level=toc -N -g -J
If your system is SCSI based then try
cdda2wav -scanbus
-
2008-05-06, 04:08 #15P2 266MHz, ubuntu server 10.04 SBS 7.6.0 - r31284
AMD64x2 ubuntu 10.04, SBS 7.5.2 - r30889
Dell 10v WinXP SBS 7.5.2 - r31264
Dell 10v ubuntu netbook remix 10.04, SBS 7.6.0 - r30830
Players: Classic, Duet, Boom
-
2008-05-06, 04:11 #16
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,689
Try
cdda2wav device=0,0,0 -verbose-level=toc -N -g -J
If that works put 0,0,0 in the settings which had "/dev/cdrom"
-
2008-05-06, 04:37 #17
Tried cdda2wav device=0,0,0 -verbose-level=toc -N -g -J and got 2 messages:
Code:WARNING: the deprecated pseudo SCSI syntax found as device specification. Support for that may cease in the future versions of wodim. For now, the device will be mapped to a block device file where possible. Run "wodim --devices" for details. Segmentation fault
Code:Unable to open this SCSI ID. Trying to map to old ATA syntax.This workaround will disappear in the near future. Fix your configuration.
Code:wodim: Overview of accessible drives (1 found) : ------------------------------------------------------------------------- 0 dev='/dev/scd0' rwrw-- : 'COMBO' 'IDE5232CO' -------------------------------------------------------------------------
Error loading CD index - (-1) No CD in drive'
tried 0,0,0 in CDplayer and got a different error:
Error loading CD index - (-1) CD drive is in use. Wait and then try again'
I feel we are making progress but - any other suggestions?P2 266MHz, ubuntu server 10.04 SBS 7.6.0 - r31284
AMD64x2 ubuntu 10.04, SBS 7.5.2 - r30889
Dell 10v WinXP SBS 7.5.2 - r31264
Dell 10v ubuntu netbook remix 10.04, SBS 7.6.0 - r30830
Players: Classic, Duet, Boom
-
2008-05-06, 04:56 #18
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,689
Error loading CD index - (-1) No CD in drive'
Error loading CD index - (-1) CD drive is in use. Wait and then try again'
Don't try using CDplayer until you can get a list of the tracks on a CD by using this command.
cdda2wav device=DEVICENAME -verbose-level=toc -N -g -J
If there is no CD in the drive you will get a message like
Code:Type: ROM, Vendor 'SONY ' Model 'DVD RW DW-Q120A ' Revision 'PYS2' MMC+CDDA load cdrom please and press enter
Code:569344 bytes buffer memory requested, 4 buffers, 55 sectors #Cdda2wav version 2.01_linux_2.6.16_i686_athlon, real time sched., soundcard, libparanoia support Tracks:20 78:24.05 CDINDEX discid: 8xzquqrhU1Fnpbi.s79KJ_r.BhU- CDDB discid: 0x35126014 CD-Text: not detected CD-Extra: not detected Album title: '' from '' T01: 0 4:27.10 audio linear copydenied stereo title '' from '' T02: 20035 3:27.67 audio linear copydenied stereo title '' from '' from '' . . . T20: 334995 3:57.35 audio linear copydenied stereo title '' from '' Leadout: 352805
Modern CDROM drive are intelligent and their onboard controllers remember and buffer too much including errors. I usually remove CD and re-insert CD between test runs of cdda2wav as this resets the controller's internal state.
-
2008-05-06, 05:06 #19
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,689
Googling - There are lots of users with issues about Ubuntui abd Cdda2wav. It looks like Ubuntu builders have done something to the cdda2wav when they changed it into icedax.
Amongst others see
https://bugs.launchpad.net/ubuntu/+s...it/+bug/134493
-
2008-05-06, 05:20 #20P2 266MHz, ubuntu server 10.04 SBS 7.6.0 - r31284
AMD64x2 ubuntu 10.04, SBS 7.5.2 - r30889
Dell 10v WinXP SBS 7.5.2 - r31264
Dell 10v ubuntu netbook remix 10.04, SBS 7.6.0 - r30830
Players: Classic, Duet, Boom