On Digris, we also generate STATIONNAME.LONG:
|
message = DLPlusMessage() |
|
# track.artist contains station name if no artist is set |
|
message.add_dlp_object(DLPlusObject("STATIONNAME.LONG", track.artist)) |
|
# TODO complete integration w/o f-string |
|
# PROGAMME.NOW for show name needs a carousel + deleting |
|
# message.add_dlp_object(DLPlusObject("PROGRAMME.NOW", track.show.name)) |
|
message.add_dlp_object(DLPlusObject("ITEM.TITLE", delete=True)) |
|
message.add_dlp_object(DLPlusObject("ITEM.ARTIST", delete=True)) |
|
message.build(f"$STATIONNAME.LONG - {track.show.name}") |
|
params["dls"] = str(ODRPadEncRenderer(message)) |
|
self.last_frame_was_dl_plus = False |
We should clarify it that is still possible on SMC.
It would be nice to also start expanding on the tags and also add the running and maybe next show.
Most likely this will contain converting the current naive SCM_FTP integration to fully use https://github.com/radiorabe/nowplaypadgen, most likely with some kind of adapter to match SCM's field naming.
On Digris, we also generate
STATIONNAME.LONG:nowplaying/nowplaying/track/observers/dab_audio_companion.py
Lines 76 to 86 in 586ab9c
We should clarify it that is still possible on SMC.
It would be nice to also start expanding on the tags and also add the running and maybe next show.
Most likely this will contain converting the current naive SCM_FTP integration to fully use https://github.com/radiorabe/nowplaypadgen, most likely with some kind of adapter to match SCM's field naming.