philippe_44 wrote:
> as PasTim said, in the plugin settings, you could select only 'pcm' in
> the codecs for your players (maybe as a default) and limit sampling rate
> to 44.1k so that will force LMS to transcode everything to PCM at 44.1k
> max, no need of custom-convert rules. Then for 24 bits samples, the
> plugin has an option to do 16 bits truncation on the fly (that only
> works for PCM obviously but this what yo have). Wouldn't that solve your
> problem and not affect any other players?
Unfortunately this simple solution doesn't quite work. It converts
nicely to pcm format but doesn't seem to limit the sampling rate to
44.1k. So essentially all files upto and including 44.1kHz FLAC format
work well but higher resolution formats result in the player log
spitting back unsupported bit rate. See log output below.
Code:
--------------------
[17-02-27 16:58:20.9113] Slim::Player::StreamingController::_nextTrackReady
(737) XX:XX:XX:XX:XX:XX nextTrack will be index 3
[17-02-27 16:58:20.9115] Slim::Player::StreamingController::_Stream (1203)
Song queue is now 3
[17-02-27 16:58:20.9117] Slim::Player::StreamingController::_Stream (1206)
XX:XX:XX:XX:XX:XX: preparing to stream song index 3
[17-02-27 16:58:20.9119] Slim::Player::Song::open (363)
file:///media/479d769f-1e7c-4f21-8ed5-1cd971382a01/DataDisk1/Multimedia/Music/Micheal%20Jackson/Thriller/04%20Thriller.flac
[17-02-27 16:58:20.9125] Slim::Player::TranscodingHelper::getConvertCommand2
(443) Error: Didn't find any command matches for type: flc
[17-02-27 16:58:20.9127] Slim::Player::Song::open (387) seek=false time=0
canSeek=0SEEK_ERROR_TRANSCODED
[17-02-27 16:58:20.9131] Slim::Player::TranscodingHelper::getConvertCommand2
(443) Error: Didn't find any command matches for type: flc
[17-02-27 16:58:20.9133] Slim::Player::Song::open (409) Error: Couldn't
create command line for flc playback for
[file:///media/479d769f-1e7c-4f21-8ed5-1cd971382a01/DataDisk1/Multimedia/Music/Micheal%20Jackson/Thriller/04%20Thriller.flac]
[17-02-27 16:58:20.9136] Slim::Player::StreamingController::_playersMessage
(789) Unsupported sample-rate:
file:///media/479d769f-1e7c-4f21-8ed5-1cd971382a01/DataDisk1/Multimedia/Music/Micheal%20Jackson/Thriller/04%20Thriller.flac
[17-02-27 16:58:20.9141] Slim::Player::StreamingController::_willRetry (1391)
no retry data
[17-02-27 16:58:20.9143]
Slim::Player::StreamingController::_setStreamingState (2366) new streaming
state IDLE
[17-02-27 16:58:20.9145] Slim::Player::StreamingController::nextsong (882)
The next song is number 4, was 3
--------------------
------------------------------------------------------------------------
ynot1234567890's Profile: http://forums.slimdevices.com/member.php?userid=66569
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins