Hi bpa,
I decided to use your fine cdplayer plugin once more. This time the
machine is a debian squeeze (squeeze-backports in fact).
Code:
--------------------
pc:/# uname -a
Linux pc 3.2.0-0.bpo.4-486 #1 Debian 3.2.32-1~bpo60+1 i586 GNU/Linux
pc:/# cat /etc/debian_version
6.0.6
pc:/# echo "version ?" | nc -w 1 localhost 9090
version 7.6.2
--------------------
I had some trouble getting cdplayer playing:
- On debian squeeze 6.0.6 it seems cdda2wav is gone:
Code:
--------------------
pc:/# apt-get install cdda2wav
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package cdda2wav is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
icedax
E: Package 'cdda2wav' has no installation candidate
--------------------
So I went with "apt-get install icedax" and all seemed fine.
- At first after installing the plugin I got a "can't access CD rom"
error. I solved that with "adduser squeezeboxserver cdrom"
- Then I always got a "cannot read CD index (-1) error". As icedax was
able to list the contents, I went to the plugin debug log. I saw this:
Code:
--------------------
12-12-01 02:15:47.6263] Plugins::CDplayer::CDhandler::LoadCDandIdentify
(188) cd use is 0 Busy=1
[12-12-01 02:15:47.6285] Plugins::CDplayer::CDhandler::LoadCDandIdentify
(223) Create Fork to read CD TOC using cdda2wav on unix device /dev/cdrom
[12-12-01 02:15:47.6414] Plugins::CDplayer::Fork::go (95) Fork executing
'cdda2wav' with 'device=/dev/cdrom -verbose-level=toc -N -g -J'
[12-12-01 02:15:47.6431] Plugins::CDplayer::Fork::go (96) Fork actual
executing 'exec "" device=/dev/cdrom -verbose-level=toc -N -g -J 2>
"/var/lib/squeezeboxserver/cache/Forkoutput2.txt"'
[12-12-01 02:15:47.6811] Plugins::CDplayer::Fork::go (104) Child task (2656)
forked: exec "" device=/dev/cdrom -verbose-level=toc -N -g -J 2>
"/var/lib/squeezeboxserver/cache/Forkoutput2.txt"
[12-12-01 02:15:47.6832] Plugins::CDplayer::Fork::go (105) Child task is
alive
[12-12-01 02:15:48.6904] Plugins::CDplayer::Fork::checkFork (140) Forked task
2656 is not alive
[12-12-01 02:15:48.6925] Plugins::CDplayer::Fork::checkFork (143) FORK 2656 :
exec: 1: : Permission denied
[12-12-01 02:15:48.6943] Plugins::CDplayer::Fork::checkFork (149) Forked task
complete, invoking callback
[12-12-01 02:15:48.6975] Plugins::CDplayer::CDhandler::parsetoc (803) ERROR:
No tracks were found
--------------------
The strange form of the go (96) line above made me wonder, and indeed
"cdda2wav" was nowhere to be found on my machine.
The solution was to add a softlink from icedax to cdda2wav
Code:
--------------------
pc:/# which icedax
/usr/bin/icedax
pc:/# ln -s /usr/bin/icedax /usr/bin/cdda2wav
--------------------
I hope this may help some debian users.
BTW, my CD player is an Apple USB superdrive. When you plug it, it will
not work (refuses to gobble a CD) until you have sent the magic scsi
command "sg_raw /dev/cdrom ea 00 00 00 00 00 01" (adapt /dev/cdrom to
your actual device.)
Once this is done, it will insert the CD when you push, and eject on
command. You only need do this after plugging the USB port. I suppose
the best way to automate that is adding a udev rule.
"apt-get install sg3-utils" to get sg_raw and "apt-get eject" to get
ejectÂ…
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=47288
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins