02-10-2021, 08:04 AM
Hi Francesco
Thank you for reporting this, and congratulations on getting your setup working!
mpd_oled queries both Moode and MPD for display data on Moode. It gets the bitrate from MPD. The Moode value is fixed, but the MPD value can vary for some streams, which I thought would be more interesting to display. If mpd_oled shows nothing for this value it is most likely because when it queries MPD the result is either zero or no value. You can check what Moode reports for the bitrate by listing `/var/local/www/currentsong.txt`, and see that the value is not provided.
Compared to another radio station
Adrian.
Thank you for reporting this, and congratulations on getting your setup working!
mpd_oled queries both Moode and MPD for display data on Moode. It gets the bitrate from MPD. The Moode value is fixed, but the MPD value can vary for some streams, which I thought would be more interesting to display. If mpd_oled shows nothing for this value it is most likely because when it queries MPD the result is either zero or no value. You can check what Moode reports for the bitrate by listing `/var/local/www/currentsong.txt`, and see that the value is not provided.
Code:
$ cat /var/local/www/currentsong.txt
file=http://mscp2.live-streams.nl:8100/flac.flac
artist=Radio station
album=Hi On Line - Pop (FLAC)
...
bitrate=
...
state=play
Compared to another radio station
Code:
$ cat /var/local/www/currentsong.txt
file=http://mediaserv30.live-streams.nl:8086/live
artist=Radio station
album=Hi On Line - Pop (320K)
...
bitrate=320 kbps
...
state=play
Adrian.