Hi again,
I did a bit of research in this thread and found a custom command to
convert the file...
I added in the custom-convert.conf
Code:
--------------------
wav pcm * *
[SOX] -q -t wav - -t wav -b 24 --buffer 8192 - gain -h
--------------------
Going back into the log i see that it now will use a wav to flac
conversion (which I definitely do not want)
Moreover it complaint not to find the sox binary, but this is installed
and in the right folder.
No idea what this is doing? I fear that LMS does not recognize the WAV
file correctly as WAV.
Code:
--------------------
[19-04-22 12:56:16.4254] Slim::Player::Source::playmode (26) Custom
Slim::Player::Source::playmode() called for Groups plugin
[19-04-22 12:56:16.4255] Slim::Player::StreamingController::play (2121)
ec:a8:6b:fd:86:06
[19-04-22 12:56:16.4257] Slim::Player::StreamingController::_Stop (611) Song
queue is now 0
[19-04-22 12:56:16.4258] Slim::Player::StreamingController::_setPlayingState
(2378) new playing state STOPPED
[19-04-22 12:56:16.4259]
Slim::Player::StreamingController::_setStreamingState (2387) new streaming
state IDLE
[19-04-22 12:56:16.4260] Slim::Player::StreamingController::nextsong (890)
The next song is number 0, was 0
[19-04-22 12:56:16.4263] Slim::Player::Song::new (108) index 0 ->
file:///home/testuser/music/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav
[19-04-22 12:56:16.4265]
Slim::Player::StreamingController::_setStreamingState (2387) new streaming
state TRACKWAIT
[19-04-22 12:56:16.4268] Slim::Player::StreamingController::_playersMessage
(797) Aktueller Titel:
file:///home/testuser/music/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav
[19-04-22 12:56:16.4273] Slim::Player::Song::getNextSong (229)
file:///home/testuser/music/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav
[19-04-22 12:56:16.4274] Slim::Player::StreamingController::_nextTrackReady
(745) ec:a8:6b:fd:86:06: nextTrack will be index 0
[19-04-22 12:56:16.4275] Slim::Player::StreamingController::_Stream (1211)
Song queue is now 0
[19-04-22 12:56:16.4276] Slim::Player::StreamingController::_Stream (1214)
ec:a8:6b:fd:86:06: preparing to stream song index 0
[19-04-22 12:56:16.4277] Slim::Player::Song::open (364)
file:///home/testuser/music/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav
[19-04-22 12:56:16.4280] Slim::Player::TranscodingHelper::checkBin (275)
couldn't find binary for: SOX
[19-04-22 12:56:16.4281] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: wav->flc via: [flac] -cs --totally-silent --compression-level-0
$START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ -
[19-04-22 12:56:16.4284] Slim::Player::TranscodingHelper::checkBin (275)
couldn't find binary for: SOX
[19-04-22 12:56:16.4285] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: wav->flc via: [flac] -cs --totally-silent --compression-level-0
$START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ -
[19-04-22 12:56:16.4286] Slim::Player::Song::open (388) seek=false time=0
canSeek=2
[19-04-22 12:56:16.4288] Slim::Player::TranscodingHelper::checkBin (275)
couldn't find binary for: SOX
[19-04-22 12:56:16.4289] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: wav->flc via: [flac] -cs --totally-silent --compression-level-0
$START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ -
[19-04-22 12:56:16.4290] Slim::Player::Song::open (409) Transcoder:
streamMode=F, streamformat=flc
[19-04-22 12:56:16.4292]
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command
for conversion: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -cs
--totally-silent --compression-level-0 --
"/home/testuser/music/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav" |
"/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t flac - -t flac -C 0 -
& |
[19-04-22 12:56:16.4293] Slim::Player::Song::open (559) Tokenized command:
"/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -cs --totally-silent
--compression-level-0 --
"/home/testuser/music/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav" |
"/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t flac - -t flac -C 0 -
& |
[19-04-22 12:56:16.4408] Slim::Player::StreamingController::_Stream (1283)
ec:a8:6b:fd:86:06: stream
[19-04-22 12:56:16.4418] Slim::Player::StreamingController::_Stream (1320)
Song queue is now 0
[19-04-22 12:56:16.4419] Slim::Player::StreamingController::_setPlayingState
(2378) new playing state BUFFERING
[19-04-22 12:56:16.4420]
Slim::Player::StreamingController::_setStreamingState (2387) new streaming
state STREAMING
[19-04-22 12:56:16.4424] Slim::Player::Source::playmode (52)
ec:a8:6b:fd:86:06: Current playmode: play
[19-04-22 12:56:16.4529] Slim::Player::Source::_readNextChunk (373) end of
file or error on socket, song pos: 29347840
[19-04-22 12:56:16.4530] Slim::Player::Source::_readNextChunk (378)
ec:a8:6b:fd:86:06 mark end of stream
[19-04-22 12:56:16.4531] Slim::Player::Source::_readNextChunk (386) Didn't
stream any bytes for this song; mark it as failed
[19-04-22 12:56:16.4532]
Slim::Player::StreamingController::playerStreamingFailed (2249)
ec:a8:6b:fd:86:06
[19-04-22 12:56:16.4533] Slim::Player::StreamingController::_playersMessage
(797) Problem: Datei kann nicht geöffnet werden für::
file:///home/testuser/music/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav
[19-04-22 12:56:16.4539] Slim::Player::StreamingController::_Stop (611) Song
queue is now 0
[19-04-22 12:56:16.4540] Slim::Player::StreamingController::_setPlayingState
(2378) new playing state STOPPED
[19-04-22 12:56:16.4541]
Slim::Player::StreamingController::_setStreamingState (2387) new streaming
state IDLE
[19-04-22 12:56:16.4542] Slim::Player::StreamingController::_willRetry (1409)
no retry data
[19-04-22 12:56:16.4543] Slim::Player::StreamingController::nextsong (890)
The next song is number 0, was 0
[19-04-22 12:56:16.4961] Slim::Player::TranscodingHelper::checkBin (275)
couldn't find binary for: SOX
[19-04-22 12:56:16.4966] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: wav->flc via: [flac] -cs --totally-silent --compression-level-0
$START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ -
[19-04-22 12:56:16.4973] Slim::Player::TranscodingHelper::checkBin (275)
couldn't find binary for: SOX
[19-04-22 12:56:16.4978] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: wav->flc via: [flac] -cs --totally-silent --compression-level-0
$START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$
--------------------
------------------------------------------------------------------------
s25a's Profile: http://forums.slimdevices.com/member.php?userid=65256
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix