Possible to display bitrate for Internet radio streams?

Issue description:

For an internet radio stream it would be nice to display the bitrate while playing. The audio stream itself may not have it, but sometimes it is in the HTTP headers. For the attached logs I can see the GET request returns:

Icy-Audio-Info: bitrate=48
Icy-Br: 48

fwiw, mediainfo shows “variable” for bitrate.

Other HTTP header examples:
ice-audio-info: channels=2, samplerate=44100, bitrate=96

Might be a bit annoying to parse all these formats if they are not standardized in some way.

Logs:

Upload description: radio-bitrate

Additional information:

 Not provided 

Reproduction steps:

 Not provided 

Media provider:

Internet Radio

Screenshots:

     

1 Like