Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Radio Paradise
#25
Compressed formats like flac inherently use VBR encoding. I'd expect to see the bitrate of the stream at something around 800K.

MPD's bitrate status element represents a snapshot of the rate in kbps of the incoming stream. It's probably obtained from CURL. The snapshot is taken each time certain MPD idle timeouts happen. That's why it's very odd that it remains 0 during playback of these Flac streams. Normally if the first snapshot comes back 0 or undefined it will be updated with a valid value next time song changes or some other event that causes MPD idle timeout. MPD also reports 0 bps for the JB Radio 2 Flac stream. Must be something about flac format streams.

The RP flac streams have another oddity tho. They cause MPD idle timeout every 4 or 5 secs due to the "elapsed" MPD status element being updated. This element only applies to song files and not streams. Elapsed should be 0 for streams.

It won't be visible on the client but you can see the behavior of the RP stream it by turning on verbose logging in MPD config and then tail -f /var/log/mpd/log

Here's some debug from the client showing the "elapsed" element being updated.
Code:
[Log] engineMpd: success branch: data=({"volume":"10","repeat":"0","random":"0","single":"0","consume":"0","playlist":"538","playlistlength":"61","mixrampdb":"0.000000","state":"play","song":"59","songid":"62","time":"0","elapsed":"136","bitrate":"","audio":"44100:16:2","nextsong":"60","nextsongid":"63","song_percent":"0","audio_sample_rate":"44.1","audio_sample_depth":"16","audio_channels":"Stereo","file":"http:\/\/stream.radioparadise.com\/flac","track":null,"date":null,"composer":null,"cover_art_hash":1879569972,"encoded":"VBR","artist":"Radio station","title":"The Clash - Clampdown","album":"AAA New station","station_name":"AAA New station","coverurl":"images\/radio-logos\/AAA New station.jpg"}) (playerlib.min.js, line 24)

[Log] engineMpd: success branch: data=({"volume":"10","repeat":"0","random":"0","single":"0","consume":"0","playlist":"539","playlistlength":"61","mixrampdb":"0.000000","state":"play","song":"59","songid":"62","time":"0","elapsed":"138","bitrate":"","audio":"44100:16:2","nextsong":"60","nextsongid":"63","song_percent":"0","audio_sample_rate":"44.1","audio_sample_depth":"16","audio_channels":"Stereo","idle_timeout_event":"changed: playlist","file":"http:\/\/stream.radioparadise.com\/flac","track":null,"date":null,"composer":null,"cover_art_hash":187175884,"encoded":"VBR","artist":"Radio station","title":"The Clash - Clampdown","album":"AAA New station","station_name":"AAA New station","coverurl":"images\/radio-logos\/AAA New station.jpg"}) (playerlib.min.js, line 24)

[Log] engineMpd: success branch: data=({"volume":"10","repeat":"0","random":"0","single":"0","consume":"0","playlist":"540","playlistlength":"61","mixrampdb":"0.000000","state":"play","song":"59","songid":"62","time":"0","elapsed":"143","bitrate":"","audio":"44100:16:2","nextsong":"60","nextsongid":"63","song_percent":"0","audio_sample_rate":"44.1","audio_sample_depth":"16","audio_channels":"Stereo","idle_timeout_event":"changed: playlist","file":"http:\/\/stream.radioparadise.com\/flac","track":null,"date":null,"composer":null,"cover_art_hash":1216097015,"encoded":"VBR","artist":"Radio station","title":"The Clash - Clampdown","album":"AAA New station","station_name":"AAA New station","coverurl":"images\/radio-logos\/AAA New station.jpg"}) (playerlib.min.js, line 24)

[Log] engineMpd: success branch: data=({"volume":"10","repeat":"0","random":"0","single":"0","consume":"0","playlist":"541","playlistlength":"61","mixrampdb":"0.000000","state":"play","song":"59","songid":"62","time":"0","elapsed":"147","bitrate":"","audio":"44100:16:2","nextsong":"60","nextsongid":"63","song_percent":"0","audio_sample_rate":"44.1","audio_sample_depth":"16","audio_channels":"Stereo","idle_timeout_event":"changed: playlist","file":"http:\/\/stream.radioparadise.com\/flac","track":null,"date":null,"composer":null,"cover_art_hash":569758706,"encoded":"VBR","artist":"Radio station","title":"The Clash - Clampdown","album":"AAA New station","station_name":"AAA New station","coverurl":"images\/radio-logos\/AAA New station.jpg"}) (playerlib.min.js, line 24)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Radio Paradise - by mtnbrit - 02-14-2020, 04:33 AM
RE: Radio Paradise - by Tim Curtis - 02-14-2020, 04:44 AM
RE: Radio Paradise - by BackinBlack - 02-14-2020, 11:28 AM
RE: Radio Paradise - by LeVolatile - 01-18-2021, 04:13 AM
RE: Radio Paradise - by MikeyFresh - 01-18-2021, 02:34 PM
RE: Radio Paradise - by mtnbrit - 02-15-2020, 01:14 AM
RE: Radio Paradise - by Tim Curtis - 02-15-2020, 02:12 AM
RE: Radio Paradise - by TheOldPresbyope - 02-15-2020, 02:20 AM
RE: Radio Paradise - by Tim Curtis - 02-15-2020, 02:22 AM
RE: Radio Paradise - by mtnbrit - 02-15-2020, 02:51 AM
RE: Radio Paradise - by Tim Curtis - 02-15-2020, 03:16 AM
RE: Radio Paradise - by mtnbrit - 02-15-2020, 04:29 AM
RE: Radio Paradise - by TheOldPresbyope - 02-15-2020, 03:22 PM
RE: Radio Paradise - by Tim Curtis - 02-15-2020, 04:46 PM
RE: Radio Paradise - by normand - 03-02-2020, 10:40 PM
RE: Radio Paradise - by Tim Curtis - 03-02-2020, 11:09 PM
RE: Radio Paradise - by mtnbrit - 05-19-2020, 06:56 PM
RE: Radio Paradise - by Tim Curtis - 05-20-2020, 03:05 AM
RE: Radio Paradise - by TheOldPresbyope - 05-19-2020, 07:19 PM
RE: Radio Paradise - by Tim Curtis - 05-19-2020, 07:48 PM
RE: Radio Paradise - by mtnbrit - 05-20-2020, 12:52 AM
RE: Radio Paradise - by MikeyFresh - 05-20-2020, 01:34 AM
RE: Radio Paradise - by Tim Curtis - 05-20-2020, 02:03 AM
RE: Radio Paradise - by Tim Curtis - 05-20-2020, 03:55 AM
RE: Radio Paradise - by MikeyFresh - 05-20-2020, 03:51 PM
RE: Radio Paradise - by mtnbrit - 05-20-2020, 04:34 PM
RE: Radio Paradise - by Tim Curtis - 05-20-2020, 06:45 PM
RE: Radio Paradise - by mtnbrit - 05-29-2020, 08:10 PM
RE: Radio Paradise - by RPI4 Rambler - 06-04-2020, 11:44 AM
RE: Radio Paradise - by MikeyFresh - 06-05-2020, 03:20 AM
RE: Radio Paradise - by Tim Curtis - 05-29-2020, 10:10 PM
RE: Radio Paradise - by TheOldPresbyope - 06-04-2020, 12:32 PM
RE: Radio Paradise - by RPI4 Rambler - 06-04-2020, 03:39 PM
RE: Radio Paradise - by Tim Curtis - 06-04-2020, 01:14 PM
RE: Radio Paradise - by Tim Curtis - 06-05-2020, 02:23 AM
RE: Radio Paradise - by RPI4 Rambler - 06-05-2020, 08:44 AM
RE: Radio Paradise - by Tim Curtis - 06-05-2020, 12:45 PM
RE: Radio Paradise - by RPI4 Rambler - 06-05-2020, 02:18 PM
RE: Radio Paradise - by Tim Curtis - 06-05-2020, 03:44 PM
RE: Radio Paradise - by philrandal - 06-07-2020, 12:44 PM
RE: Radio Paradise - by Tim Curtis - 06-07-2020, 02:47 PM
RE: Radio Paradise - by Hydra - 02-08-2021, 08:03 PM
RE: Radio Paradise - by Tim Curtis - 02-08-2021, 09:21 PM

Forum Jump: