bc-nero wrote:
> But if I start the favorite with "wavin:
> alsa_input.pci-0000_00_1b.0.analog-stereo", then it starts for 1-3
> seconds and then stops again, without even having played one sound ...
The clock is started when you press play - it means nothing specific -
just a timer.
Timer running for 3-10 secs and stops usually means parec or lame or
flac have failed or device name is wrong or that permissions weren't
set.
Sometime permission changes need a system reboot to take effect.
To check parec etc. - enable logging player.source to INFO and try to
play the Favorite. After timer has stopped look at server.log file and
copy the lines the look like the following to a post. - your output may
indicate the cause
Code:
--------------------
[19-07-13 07:41:09.7911] Slim::Player::TranscodingHelper::getConvertCommand2
(443) Error: Didn't find any command matches for type: wavin
[19-07-13 07:41:09.7913] Slim::Player::Song::open (388) seek=false time=0
canSeek=0SEEK_ERROR_REMOTE
[19-07-13 07:41:09.7917] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: wavin->flc via: [parec] --file-format=wav --format=s16le -d
$FILE$ | [flac] -cs --totally-silent --compression-level-0 -
[19-07-13 07:41:09.7919] Slim::Player::Song::open (409) Transcoder:
streamMode=R, streamformat=flc
[19-07-13 07:41:09.7921] Slim::Player::Song::open (462) Opening stream (no
direct streaming) using Plugins::WaveInput::WAVIN
[wavin:alsa_input.pci-0000_00_1b.0.analog-stereo]
[19-07-13 07:41:09.7926]
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command
for conversion: "/usr/bin/parec" --file-format=wav --format=s16le -d
"alsa_input.pci-0000_00_1b.0.analog-stereo" |
"/mnt/hddrive/home/ubuntu14.04/repos/7.9/latest/trunk/Bin/x86_64-linux/flac"
-cs --totally-silent --compression-level-0 -
[19-07-13 07:41:09.8000] Slim::Player::Song::open (483) URL is a song
(audio): wavin:alsa_input.pci-0000_00_1b.0.analog-stereo, type=flc
[19-07-13 07:41:09.8009] Slim::Player::StreamingController::_Stream (1283)
00:04:20:16:07:0e: stream
[19-07-13 07:41:09.8017] Slim::Player::StreamingController::_Stream (1320)
Song queue is now 0
[19-07-13 07:41:09.8020] Slim::Player::StreamingController::_setPlayingState
(2378) new playing state BUFFERING
[19-07-13 07:41:09.8021]
Slim::Player::StreamingController::_setStreamingState (2387) new streaming
state STREAMING
Failed to open audio file.
[19-07-13 07:41:09.8175] Slim::Player::Source::_readNextChunk (373) end of
file or error on socket, song pos: 0
[19-07-13 07:41:09.8177] Slim::Player::Source::_readNextChunk (378)
00:04:20:16:07:0e mark end of stream
[19-07-13 07:41:09.8178] Slim::Player::Source::_readNextChunk (386) Didn't
stream any bytes for this song; mark it as failed
[19-07-13 07:41:09.8179]
Slim::Player::StreamingController::playerStreamingFailed (2249)
00:04:20:16:07:0e
[19-07-13 07:41:09.8180] Slim::Player::StreamingController::_playersMessage
(797) Problem: Can't open file for::
wavin:alsa_input.pci-0000_00_1b.0.analog-stereo
[19-07-13 07:41:09.8183] Slim::Player::StreamingController::_Stop (611) Song
queue is now 0
[19-07-13 07:41:09.8185] Slim::Player::StreamingController::_setPlayingState
(2378) new playing state STOPPED
--------------------
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110736
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins