getmusicbee.com

General => MusicBee Wishlist => Topic started by: sveakul on May 27, 2018, 09:58:00 PM

Title: Bitrate display on FLAC radio streams--a fix?
Post by: sveakul on May 27, 2018, 09:58:00 PM
On several Icecast server ogg-wrapped FLAC streams for example Rondo Classic Klasu
(http://rondo.iradio.fi:8000/klasu.flac (http://rondo.iradio.fi:8000/klasu.flac)) and Frequence3
(http://rod.frequence3.net/frequence3.flac (http://rod.frequence3.net/frequence3.flac)) MusicBee shows the bitrate as "128k".

This is must be due to MusicBee pulling that info directly from the Icecast server bitrate header "icy-br", which incorrectly shows "128" as its value.  For instance, the first example's header log looks like this in the AIMP player:

HTTP/1.0 200 OK
Server: Icecast 2.4.2
Date: Sun, 27 May 2018 20:41:56 GMT
Content-Type: application/ogg
Cache-Control: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache
icy-br:128
ice-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2
icy-br:128
icy-description:Classical music for modern listeners, 24/7
icy-genre:Classical music
icy-name:Rondo Classic Klasu-flac
icy-private:0
icy-pub:1
icy-url:http://www.rondolehti.fi

However, AIMP correctly displays the actual FLAC bitrate in its running line:

(https://i.imgur.com/e8XhsbA.jpg)

Can MusicBee also be made to display the actual bitrate instead of using the often erroneous info from the "icy-br" server stream header?

Thanks for your consideration.
Title: Re: Bitrate display on FLAC radio streams--a fix?
Post by: sveakul on August 27, 2018, 04:00:09 AM
Another example of what I am asking for using an OPUS stream instead of FLAC,  and the XMPlay player instead of AIMP for the comparison:

MusicBee displays this OPUS stream (http://s2.euer.tv:80/audio.opus (http://s2.euer.tv:80/audio.opus)) as being "1024k" bitrate, which of course cannot be accurate:

(https://i.imgur.com/8lMTXwX.jpg)

This is because it trusts the value from the erroneous "icy-br" header value sent for reasons unknown by the server, shown here from the XMPlay player (which can display these headers):

(https://i.imgur.com/Z38zzBN.jpg)

However, the same player also is able to determine and display the REAL bitrate in its version of MB's "Track Information":

(https://i.imgur.com/l0FYvNd.jpg)

So I am hoping MusicBee can add the ability to sample and display the actual bitrate for such streams as opposed to relying on the header's value.