Hi bpa.  Thanks for this plugin and for your contributions to this
community over the years.  I've benefitted immensely from your work.

I've used your CDPlayer plugin for a few years and it's worked
wonderfully.  Now I've got a new server that I'm trying Windows 8 on and
I'm having some trouble.  I don't know if the problem is Windows 8 or my
USB CD-ROM drive, or what, but here's what I'm seeing:

On the CDPlayer settings screen the only option in the field "CD-ROM
Device description on Windows" is "unassigned".

When I attempt to use the plugin (Extras > CDPlayer) via the web
interface I get "Error loading CD index - (-1) No CD in drive"

With CDPlayer's logging set to debug I see the following in my log after
attempting to use the plugin:

Code:
--------------------
    
  [12-10-02 20:36:21.4927] Plugins::CDplayer::Plugin::indexHandler (197) 
CDplayer - Indexhandler called
  [12-10-02 20:36:21.4935] Plugins::CDplayer::CDhandler::LoadCDandIdentify 
(186) Request to load CD and identify
  [12-10-02 20:36:21.4944] Slim::Utils::Misc::msg (1304) Warning: 
[20:36:21.4939] Backtrace:
  
  frame 0: Plugins::CDplayer::CDhandler::LoadCDandIdentify 
(C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/CDplayer/Plugin.pm 
line 218)
  frame 1: Plugins::CDplayer::Plugin::indexHandler 
(/<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Web/HTTP.pm line 1101)
  frame 2: Slim::Web::HTTP::generateHTTPResponse 
(/<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Web/HTTP.pm line 924)
  frame 3: Slim::Web::HTTP::processURL 
(/<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Web/HTTP.pm line 734)
  frame 4: Slim::Web::HTTP::processHTTP 
(/<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 
139)
  frame 5: (eval) 
(/<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 
123)
  frame 6: Slim::Networking::IO::Select::__ANON__ 
(/<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 
184)
  frame 7: (eval) 
(/<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 
184)
  frame 8: Slim::Networking::IO::Select::loop (slimserver.pl line 695)
  frame 9: main::idle (slimserver.pl line 645)
  frame 10: main::main (slimserver.pl line 101)
  frame 11: PerlSvc::Interactive 
(/<C:\PROGRA~2\SQUEEZ~1\server\SQUEEZ~3.EXE>PerlSvc.pm line 99)
  frame 12: PerlSvc::_interactive (slimserver.pl line 0)
  frame 13: (eval) (slimserver.pl line 0)
  
  [12-10-02 20:36:21.4949] Plugins::CDplayer::CDhandler::LoadCDandIdentify 
(188)  cd use is 0 Busy=1
  [12-10-02 20:36:21.4956] Plugins::CDplayer::CDhandler::LoadCDandIdentify 
(223) Create Fork to read CD TOC using cdda2wav on win device XXXXXX 
  [12-10-02 20:36:21.5049] Plugins::CDplayer::Fork::new (76) 
COMSPEC:"C:\Windows\system32\cmd.exe /C 
"C:\ProgramData\Squeezebox\Cache\forkcmd5.bat" "
  [12-10-02 20:36:21.5055] Plugins::CDplayer::Fork::new (79) Batch file 
line:>>>"C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\CDplayer\Bin\cdda2wav.exe"
 device=XXXXXX -verbose-level=toc -N -g -J 2> 
"C:\ProgramData\Squeezebox\Cache\Forkoutput5.txt"<<<
  [12-10-02 20:36:21.5060] Plugins::CDplayer::Fork::go (95) Fork executing 
'cdda2wav' with 'device=XXXXXX -verbose-level=toc -N -g -J'
  [12-10-02 20:36:21.5065] Plugins::CDplayer::Fork::go (96) Fork actual 
executing 'C:\Windows\system32\cmd.exe /C 
"C:\ProgramData\Squeezebox\Cache\forkcmd5.bat" '
  [12-10-02 20:36:21.5103] Plugins::CDplayer::Fork::go (104) Child task (3584) 
forked: C:\Windows\system32\cmd.exe /C 
"C:\ProgramData\Squeezebox\Cache\forkcmd5.bat" 
  [12-10-02 20:36:21.5108] Plugins::CDplayer::Fork::go (105) Child task is 
alive 
  [12-10-02 20:36:22.5219] Plugins::CDplayer::Fork::checkFork (140) Forked task 
3584 is not alive
  [12-10-02 20:36:22.5230] Plugins::CDplayer::Fork::checkFork (143) FORK 3584 : 
/cygdrive/c/ProgramData/Squeezebox/Cache/InstalledPlugins/Plugins/CDplayer/Bin/cdda2wav:
 Invalid argument. Open by 'devname' not supported on this OS. Cannot open or 
use SCSI driver.
  [12-10-02 20:36:22.5237] Plugins::CDplayer::Fork::checkFork (143) FORK 3584 : 
/cygdrive/c/ProgramData/Squeezebox/Cache/InstalledPlugins/Plugins/CDplayer/Bin/cdda2wav:
 For possible targets try 'cdda2wav -scanbus'. Make sure you are root.
  [12-10-02 20:36:22.5242] Plugins::CDplayer::Fork::checkFork (143) FORK 3584 : 
Probably you did not define your SCSI device.
  [12-10-02 20:36:22.5247] Plugins::CDplayer::Fork::checkFork (143) FORK 3584 : 
Set the CDDA_DEVICE environment variable or use the -D option.
  [12-10-02 20:36:22.5251] Plugins::CDplayer::Fork::checkFork (143) FORK 3584 : 
You can also define the default device in the Makefile.
  [12-10-02 20:36:22.5255] Plugins::CDplayer::Fork::checkFork (143) FORK 3584 : 
For possible transport specifiers try 'cdda2wav dev=help'.
  [12-10-02 20:36:22.5263] Plugins::CDplayer::Fork::checkFork (149) Forked task 
complete, invoking callback
  [12-10-02 20:36:22.5291] Plugins::CDplayer::CDhandler::parsetoc (803) ERROR: 
No tracks were found
  [12-10-02 20:36:22.5296] Plugins::CDplayer::CDhandler::processCDTOCResponse 
(290) Read CD TOC failed  No CD in drive
  [12-10-02 20:36:22.5300] 
Plugins::CDplayer::Plugin::ReadCDTOCFailedWebCallback (250) Read MusicBrainz 
record failed - web callback
  [12-10-02 20:36:22.5613] Plugins::CDplayer::Fork::checkFork (157) Deleting 
Bat and output files C:\ProgramData\Squeezebox\Cache\Forkoutput5.txt
  
--------------------


I'm running LMS as a user who's a member of the Administrators group,
but I've also tried it when running LMS as the Administrator member and
I get the same results.  But I'll be honest I don't think I've got a
great grasp on the Windows 8 permissions model.

Running cdda2wav -scanbus returns the following results:

Code:
--------------------
    
  
C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\CDplayer\Bin>cdda2wav -
  scanbus
  scsibus0:
  0,0,0     0) 'WDC WD10' 'EADS-00L5B1     ' '0200' Disk
  0,1,0     1) *
  0,2,0     2) *
  0,3,0     3) *
  0,4,0     4) *
  0,5,0     5) *
  0,6,0     6) *
  0,7,0     7) HOST ADAPTOR
  scsibus1:
  1,0,0   100) *
  1,1,0   101) *
  1,2,0   102) *
  1,3,0   103) *
  1,4,0   104) *
  1,5,0   105) *
  1,6,0   106) *
  1,7,0   107) HOST ADAPTOR
  scsibus2:
  2,0,0   200) '        ' 'OCZ-AGILITY3' '2.22' Disk
  2,1,0   201) *
  2,2,0   202) *
  2,3,0   203) *
  2,4,0   204) *
  2,5,0   205) *
  2,6,0   206) *
  2,7,0   207) HOST ADAPTOR
  
--------------------


My optical drive does not appear in the list anywhere.  But Windows does
see my CD-Rom drive and I'm able to play audio CDs on the computer.

It seems obvious that cdda2wav is unable to see my drive but I don't
know why.  Do you have any further troubleshooting steps you might
suggest?


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

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

Reply via email to