First some context.
Upmpdcli supports OpenHome Radio (https://www.lesbonscomptes.com/upmpdcli ... o-stations). You can configure radio stations that will appear in the Radio section of BubbleDS or Kazoo.
It can also execute Python scripts to use services like the Radio Paradise FLAC channels. As well as playing a variety of audio formats including FLAC, upmpdcli reports metadata such as song title, artist, album art etc for the current song.
However the sample script included in the upmpdcli release has a number of problems:
1. Only works for RP main channel
2. Loses sync between audio stream and meta data, displaying the wrong track details occasionally
3. Sometimes replays the same group of 3-4 tracks
I have created an updated script that fixes these problems and now I can reliably play all 4 RP FLAC channels with accurate track metadata and no annoying repeats (well, not so many).
I have attached a copy of the updated script and an example configuration file. Note that the configuration file assumes that the script is stored in
Code: Select all
/media/playlists/radio/