radiobot posts (and toots) the wrong track when a new DJ starts #9

Closed
opened 2021-09-15 03:19:37 +00:00 by Ghost · 4 comments

When a new DJ starts streaming, radiobot posts to the IRC (and toots to Mastodon) the last track from the previous DJ or autoDJ, instead of the correct track played by the current DJ.

When a new DJ starts streaming, radiobot posts to the IRC (and toots to Mastodon) the last track from the previous DJ or autoDJ, instead of the correct track played by the current DJ.
Owner

radiobot has been replaced with a tildebot module https://tildegit.org/ben/bitbot-modules/src/branch/master/tilderadio.py - the song it reports is what came from the azuracast api

radiobot has been replaced with a tildebot module https://tildegit.org/ben/bitbot-modules/src/branch/master/tilderadio.py - the song it reports is what came from the azuracast api
Author

radiobot has been replaced with a tildebot module https://tildegit.org/ben/bitbot-modules/src/branch/master/tilderadio.py - the song it reports is what came from the azuracast api

Noted, thanks. What would be the best way to prevent this from happening? Prevent announcing the track with something like this:

newdj_message = f"{self.dj} is now streaming on tilderadio! tune in here now: {LISTEN_URL}"

Will this work?

> radiobot has been replaced with a tildebot module https://tildegit.org/ben/bitbot-modules/src/branch/master/tilderadio.py - the song it reports is what came from the azuracast api Noted, thanks. What would be the best way to prevent this from happening? Prevent announcing the track with something like this: newdj_message = f"{self.dj} is now streaming on tilderadio! tune in here now: {LISTEN_URL}" Will this work?
Owner

sure, i could remove the current track from the dj announcement

sure, i could remove the current track from the dj announcement
Owner

this should fix it fd09bdfd7e

this should fix it https://tildegit.org/ben/bitbot-modules/commit/fd09bdfd7e0efe84e95cd5fbe84fbf2b860acd1d
ben closed this issue 2021-09-15 13:55:32 +00:00
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tilderadio/radiobot#9
No description provided.