Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMC: Implement additional DLS+ fields #568

Open
4 tasks
hairmare opened this issue Dec 13, 2023 · 1 comment
Open
4 tasks

SMC: Implement additional DLS+ fields #568

hairmare opened this issue Dec 13, 2023 · 1 comment
Labels
enhancement New feature or request output-dab

Comments

@hairmare
Copy link
Member

hairmare commented Dec 13, 2023

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.

  • check options, ask for list of fields
  • re-add stationname.long
  • decide on other fields to implement and add them
  • grab some frames from an SDR and check if they work properly once implemented
@hairmare hairmare added enhancement New feature or request output-dab labels Dec 13, 2023
@hairmare
Copy link
Member Author

I talked about this with the responsible person from Sumatronic at this years Swiss Radio Day.

Currently, fields other than title and artist are not supported.

Sumatronic is aware of our requirement and would like to support it as well, but there currently is no ETA supporting additional DLS+ fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request output-dab
Projects
Status: No status
Development

No branches or pull requests

1 participant