philippe_44 wrote: 
> Yes - I had to take a very deep look into squeezelite as my LMS
> 'emulated' device is a squeezelite device, but heavily modified to do
> that bridge thing. I don't have my piCore player at reach currently and
> I don't know if it limits the codecs accepted by squeezelite by default
> (which includes pcm), thus forcing transcoding in LMS. In any case, if
> flac is being sent to squeezelite, then the sampling rate problem
> diseappears as LMS does trasncoding properly. The issue seems to occur
> when LMS does not do transcoding, then it indicates a wrong sample rate.
> I think, if given pcm at the pretended rate of 44.1 but in reality at
> 192, squeezlite is fooled like any other.

Philippe,

I now have a Pi-based UpNP renderer running, Pi-MusicBox with
DLNA/uPnP/OpenHome Streaming enabled and a HiFiBerry DAC (capable of
24bit/192kHz) as output. I can confirm that the behavior (high-res files
play too slow) for files outside the library is the same as for the Roku
if I use the same codec settings (pcm,mp3). If I change the codec
settings to flc,pcm,mp3, the same files play with the correct speed (as
you predicted.). I also just noticed that LMS does not display a sample
rate for files outside the library (see attached pictures). I think we
can close this issue as this is clearly a limitation/bug of LMS.

LMS track info for file in library:

18124

LMS track info for file outside library:

18125

Of course UPnP would not be UPnP if there were not other issues with the
Pi-based renderer:

- with the codec settings set to pcm,mp3 and the uncompressed format set
to wav, high-res FLAC files are converted to PCM but downsampled to
1411kbps (I think this is 44.1kHz) and gapless playback is not possible
- with the codec settings set to flc,pcm,mp3 and the uncompressed format
set to wav, high-res FLAC files are not converted but no matter what
FLAC header I choose, gapless playback is still not possible

The Roku could play gapless with the first setting. As this is just a
test and I don't know the limitations of the Pi-renderer, I think it is
not wise to spend debugging time on this issue. If you do want log files
I can of course provide them.

P.S. I am still confused about the debug settings. If Debug Settings is
set to anything other than none and the Logging options checkbox is
unchecked a log file is still generated. I thought the Logging options
checkbox setting would enable/disable the log file for the debug setting
provided by the Debug Settings drop-down list.


+-------------------------------------------------------------------+
|Filename: LMS track outside of library.png                         |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18125|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
kolossos4730's Profile: http://forums.slimdevices.com/member.php?userid=63988
View this thread: http://forums.slimdevices.com/showthread.php?t=102496

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to