It sounds like a timing problem - what is the spec of the PC running
LMS. I've seen issues on other plugins with higher end and low end PCs
running Win10. LMS was written when a single/dual core system were
normal. Now 4 or 8 core with hyperthreading and SSD are normal and mean
things gets executed very fast and in parallel and there may be timing
issues as CD players are very slow to start.
You could try setting log level to INFO and hope it may fail but provide
a little more info.
When it works - it is doing as expected. Looking at the log, the line in
red shows the transcoding commandline - cdda2wav.exe executable setup to
output to flac and stream flac to a player and subsequent messages shows
it plays OK.
Code:
--------------------
[18-04-24 13:43:29.8649] Slim::Player::Song::open (408) Transcoder:
streamMode=R, streamformat=flc
[18-04-24 13:43:29.8666] Slim::Player::Song::open (461) Opening stream (no
direct streaming) using Plugins::CDplayer::CDPLAY
[cdplay://1?Lengths=27723&Offsets=187&TrackTitle=CD%20Track%2001%20(6%3A09.48)]
[18-04-24 13:43:29.8679]
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command
for conversion:
"C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\CDplayer\Bin\cdda2wav.exe"
--speed 4 --output-format wav -gui output-endianess=little --quiet
device=2,0,0 -track 1 - |
"C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs
--totally-silent --compression-level-0 -
[18-04-24 13:43:29.8754] Slim::Utils::OS::Win32::getPriorityClass (752)
Error: Slim::Utils::LogCan't get process handle () [Wrong number of parameters:
expected 0, got 1.
]
[18-04-24 13:43:29.8758] Slim::Player::Pipeline::new (96) Launching process
with command:
"C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe"
-D -o 60044 -c
"\"C:\ProgramData\Squeezebox\Cache\InstalledPlugins\Plugins\CDplayer\Bin\cdda2wav.exe\"
--speed 4 --output-format wav -gui output-endianess=little --quiet
device=2,0,0 -track 1 - |
\"C:\PROGRA~2\SQUEEZ~1\server\Bin\MSWin32-x86-multi-thread\flac.exe\" -cs
--totally-silent --compression-level-0 -"
[18-04-24 13:43:30.0846] Slim::Player::Song::open (482) URL is a song
(audio):
cdplay://1?Lengths=27723&Offsets=187&TrackTitle=CD%20Track%2001%20(6%3A09.48),
type=flc
[18-04-24 13:43:30.0851] Slim::Player::SongStreamController::new (31) live=1
[18-04-24 13:43:30.0861] Slim::Player::StreamingController::_Stream (1265)
00:04:20:28:95:69: stream
[18-04-24 13:43:30.0881] Slim::Player::StreamingController::_Stream (1265)
40:e2:30:4b:63:7f: stream
[18-04-24 13:43:30.0902] Slim::Player::StreamingController::_Stream (1302)
Song queue is now 0
[18-04-24 13:43:30.0906] Slim::Player::StreamingController::_setPlayingState
(2357) new playing state BUFFERING
[18-04-24 13:43:30.0908]
Slim::Player::StreamingController::_setStreamingState (2366) new streaming
state STREAMING
[18-04-24 13:43:30.0911] Slim::Player::StreamingController::_eventAction
(303) 00:04:20:28:95:69: NextTrackReady - new state BUFFERING-STREAMING
[18-04-24 13:43:30.0914] Slim::Player::StreamingController::_eventAction
(303) 00:04:20:28:95:69: Play - new state BUFFERING-STREAMING
[18-04-24 13:43:30.2002] Slim::Player::StreamingController::_eventAction
(271) 00:04:20:28:95:69: StatusHeartbeat in BUFFERING-STREAMING ->
Slim::Player::StreamingController::_NoOp
[18-04-24 13:43:30.2157] Slim::Player::Player::_buffering (1140) Buffering...
0 / 71680
[18-04-24 13:43:30.2178] Slim::Player::Player::_buffering (1140) Buffering...
0 / 71680
.
.
[18-04-24 13:43:37.4599] Slim::Player::Player::_buffering (1140) Buffering...
8192 / 71680
[18-04-24 13:43:37.4633] Slim::Player::Player::_buffering (1140) Buffering...
8192 / 71680
[18-04-24 13:43:37.4771] Slim::Player::StreamingController::_eventAction
(271) 00:04:20:28:95:69: StatusHeartbeat in BUFFERING-STREAMING ->
Slim::Player::StreamingController::_NoOp
--------------------
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=47288
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins