Hi,

First of all, thanks a lot for this great plugin ! I could finally trow
away my dust taking CD player.

I ran into a little trouble which I will try to describe here after:

If I go to the CDplayer menu on my SB3 without any CD in the CD tray of
my Ubuntu 8.04 Squeezeserver, I get the following message on my SB3
display:
"Loading CD and finding CD album info... Please wait"

So far so good...

What surprised me is that it will not claim that there are no CD in the
tray and my SB3 is hung.

The only way to get out of this is to restart the Squeezeserver or to
go and insert a CD in the server.

Searching a little, I can find that the following command is launched:
/usr/bin/cdda2wav device=/dev/cdrom -verbose-level=toc -N -g -J

If I launch this by hand without cd in the tray, the process waits for
a CD with the following message:
/usr/bin/cdda2wav device=/dev/cdrom -verbose-level=toc -N -g -J
Type: ROM, Vendor 'Optiarc ' Model 'DVD RW AD-7630A ' Revision '1.00'
MMC+CDDA
load cdrom please and press enter

In the code, I see that this is catched:
while (my $line = <$logfile>) {
if ($line eq "load cdrom please and press enter") {
$log->info(" No CD in drive - cdda2wav is
prompting user");

I can see that the file /var/lib/squeezecenter/cache/Forkoutput1.txt is
growing continuously with the following strings:
load cdrom please and press enter

-----

The debug log shows this:
[08-12-04 22:17:47.6936]
Plugins::CDplayer::CDhandler::LoadCDandIdentify (137)  cd use is 0
Busy=1
[08-12-04 22:17:47.6942]
Plugins::CDplayer::CDhandler::LoadCDandIdentify (167) Create Fork to
read CD TOC using cdda2wav on unix device /dev/cdrom 
[08-12-04 22:17:47.6954] Plugins::CDplayer::Fork::go (82) Fork
executing 'cdda2wav' with 'device=/dev/cdrom -verbose-level=toc -N -g
-J'
[08-12-04 22:17:47.6964] Plugins::CDplayer::Fork::go (83) Fork actual
executing 'exec "/usr/bin/cdda2wav" device=/dev/cdrom
-verbose-level=toc -N -g -J  2>
"/var/lib/squeezecenter/cache/Forkoutput1.txt"'
[08-12-04 22:17:47.7087] Plugins::CDplayer::Fork::go (91) Child task
(20558) forked: exec "/usr/bin/cdda2wav" device=/dev/cdrom
-verbose-level=toc -N -g -J  2>
"/var/lib/squeezecenter/cache/Forkoutput1.txt"
[08-12-04 22:17:47.7096] Plugins::CDplayer::Fork::go (92) Child task is
alive 

Any idea why this does not give up after timeout ?

Thanks,

Pierre.


-- 
zorglups
------------------------------------------------------------------------
zorglups's Profile: http://forums.slimdevices.com/member.php?userid=21106
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to