Lateboomer wrote:
> Here is the server.log. I cleared the playlist and add the whole
> original cd album and purposely started playing from track2. It took
> about half an hour to buffer before it could start playing. When it
> started, it emitted some pops and disk spun erratically.
According to log - CD read started at 7:49:14 and player was ready to
play at 7:59:37 (10mins - normally 1-2 secs) but with underrun 5 secs
later. Underrun would results in a burst of white noise. Underrun means
SBplayer input buffer did not have enough data in realtime to play
audio.
Code:
--------------------
[18-06-06 07:49:13.0425]
Slim::Player::StreamingController::_setStreamingState (2366) new streaming
state STREAMING
[18-06-06 07:49:13.1619] Slim::Player::Player::_buffering (1140) Buffering...
0 / 71680
[18-06-06 07:49:13.4645] Slim::Player::Player::_buffering (1140) Buffering...
0 / 71680
[18-06-06 07:49:13.7670] Slim::Player::Player::_buffering (1140) Buffering...
0 / 71680
[18-06-06 07:49:14.0692] Slim::Player::Player::_buffering (1140) Buffering...
0 / 71680
.
.
.
.
[18-06-06 07:59:31.7848] Slim::Player::Player::_buffering (1140) Buffering...
65536 / 71680
[18-06-06 07:59:32.0910] Slim::Player::Player::_buffering (1140) Buffering...
65536 / 71680
[18-06-06 07:59:32.3939] Slim::Player::Player::_buffering (1140) Buffering...
65536 / 71680
[18-06-06 07:59:32.6670]
Slim::Player::StreamingController::playerTrackStarted (2180) 68:9e:19:55:a8:00
[18-06-06 07:59:32.6683] Slim::Player::StreamingController::_setPlayingState
(2357) new playing state PLAYING
[18-06-06 07:59:32.6694] Slim::Player::StreamingController::_Playing (361)
Song 1 has now started playing
[18-06-06 07:59:32.6722] Slim::Player::StreamingController::_Playing (390)
Song queue is now 1
[18-06-06 07:59:37.0109]
Slim::Player::StreamingController::playerOutputUnderrun (2219)
68:9e:19:55:a8:00: decoder: 8192 / output: 0
[18-06-06 07:59:37.0122] Slim::Player::StreamingController::_setPlayingState
(2357) new playing state BUFFERING
[18-06-06 07:59:37.1416] Slim::Player::Player::_buffering (1140) Buffering...
8192 / 441000
--------------------
The log shows everything setup OK. LMS has a chain to get data for
SBplayer - the chain is cdda2wav feeding flac. The long delay means
cdda2wav is very very slow at producing the audio data.
This would seem to indicate a problem with reading the CD. I've only
seen this before with scratched CDs or when trying to read CD-R/CD-RW at
wrong speed. The only difference between the test rip and the plugin is
the command line option "--speed 4". This tells CD drive to use 4x
speed - it possible this is causing a problem on your setup.
You could edit the plugin's custom-convert.conf file to remove the
"--speed $CDSPEED$ "option - this will result in drive using default
value. You can locate the directory from the WebUI Setting/Information
Plugin folder will show the directory - it will be in a subdirectory of
the directory "Cache" in the path (e.g.
Cache/InstalledPlugins/Plugins/CDplayer)
After editing the custom-convert.conf file will look like.
Code:
--------------------
#
# cdd2wav
#
cdplay pcm * *
# R
[cdda2wav] --output-format raw -gui output-endianess=little --quiet
device=$CDDEVICE$ -track $CDTRACK$ $CDOFFSET$
cdplay mp3 * *
# RB:{BITRATE=-B %B}
[cdda2wav] --output-format wav -gui output-endianess=little --quiet
device=$CDDEVICE$ -track $CDTRACK$ $CDOFFSET$ - | [lame] --silent -q $QUALITY$
-v $BITRATE$ - -
cdplay flc * *
# R
[cdda2wav] --output-format wav -gui output-endianess=little --quiet
device=$CDDEVICE$ -track $CDTRACK$ $CDOFFSET$ - | [flac] -cs --totally-silent
--compression-level-0 -
--------------------
LMS must be stopped and restarted for any changes to custom-convert.conf
file to take effect.
------------------------------------------------------------------------
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