radiobot posts (and toots) the wrong track when a new DJ starts #9
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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?
sure, i could remove the current track from the dj announcement
this should fix it
fd09bdfd7e