getmusicbee.com

General => MusicBee Wishlist => Topic started by: sveakul on August 12, 2018, 03:40:41 AM

Title: Display sample rate for radio station streams as for files
Post by: sveakul on August 12, 2018, 03:40:41 AM
MusicBee can display sample rate of music files no problem in Track Information, however radio streams all receive the value "unknown."  Can this info be added for streams as well, which like files may use several different rates (22050-24000-88200 etc.)?
Title: Re: Display sample rate for radio station streams as for files
Post by: Steven on August 12, 2018, 06:33:39 PM
Its already implemented so can you send me a couple of links you think should be able to show the sample rate.
Title: Re: Display sample rate for radio station streams as for files
Post by: sveakul on August 12, 2018, 08:13:28 PM
Thanks Steven for the reply.  The first shot is the code I use for the relevant Track Information display line in Now Playing:

Code
<.Ext>, <Sample Rate>, $IsNull(<Bit Depth>,FL,<Bit Depth>)bit, <Bitrate> <Channels> $If(<Lyrics?>="",,"(Lyrics)")

The next shot shows display of all elements as expected when playing an MP3 music file:

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

The next two shots show 2 playing radio streams, one with a 44.1k sample rate the other with a 24k sample rate;  neither example show either the sample rate ("Unknown") or the channels, which is the case for every stream:

(https://i.imgur.com/np41R9W.jpg)
(https://i.imgur.com/Atw9ane.jpg)
Title: Re: Display sample rate for radio station streams as for files
Post by: Steven on August 12, 2018, 10:06:44 PM
it should work now:
https://getmusicbee.com/patches/MusicBee32_Patched.zip
Title: Re: Display sample rate for radio station streams as for files
Post by: sveakul on August 12, 2018, 10:46:40 PM
Hey great, sample rate displays on all now, thanks for the patch!  One last question:  is it possible to also make the <Channels> value show up as it does for files (see pics from last post) to take care of the last "Unknown" ;)  ?
Title: Re: Display sample rate for radio station streams as for files
Post by: sveakul on August 14, 2018, 12:43:32 AM
Steven:  just downloaded the latest patch 3.2.6799 and noticed that you added the <Channels> value display for radio streams as well, thank you!  Now I have a consistent display between audio tracks and streams except for bit depth for FLAC streams, and after all this even I am not going to be THAT big of a PITA  ;D

Just want to say how much your willingness to pursue support issues all the way to the finish (when possible!) is appreciated here.  Thanks again.