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).
I believe bidule needs to give us some more context about what he's trying to do. It sounds as if he needed the sample rate or whatever to _initialize_ the streaming. In which case getting it from the status query would likely be too late.
-- Michael _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins