bidule wrote: 
> 
> Well, you are absolutely right but I can't get in the same time
> squeezelite playing music and squeezelite -d all=info
> 
You have to add the option -d all=info to the squeezelite instance
playing your music.

> 
> That's exact, so my question is still open, *how can I get that incoming
> file/stream bitrate information from a comand line ?*
> 
Bitrate or sample rate? 
Redirect squeezelite's output to a file. Then,

Code:
--------------------
    $  tac /var/log/logitechmediaserver/squeezelite.log | grep -m 1 "resampling 
from"
  [23:35:24.706133] resample_newstream:189 resampling from 44100 -> 48000
--------------------

will give you incoming/outgoing sample rate from squeezelite's
perspective.

Querying LMS' API will give you the stream's sample rate as received by
LMS, which isn't necessarily the same as the one received by squeezelite
(unless you make sure LMS never transcodes).



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI |
Playlist Editor / Generator | Music Classification | Similar Music |
Announce | EventTrigger | Chiptunes | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=113499

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

Reply via email to