don't include {self.song} in newdj_message because it is inaccurate

Prevent announcing {self.song} because it is inaccurate. When a new DJ starts streaming, tildebot posts to the IRC (and toots to Mastodon) the last track from the previous DJ or auto DJ, instead of the correct track played by the current DJ. A temporary fix would be preventing it from announcing the track.

This is misleading and unnecessary.
This commit is contained in:
Lohan G 2021-09-15 05:45:14 +00:00
parent 352bfa30de
commit 0394d9b8e1
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class Module(ModuleManager.BaseModule):
# a different dj is online
if self.dj != "" and self.dj != previous_dj:
newdj_message = f"{self.dj} is now online playing {self.song}! tune in here now: {LISTEN_URL}"
newdj_message = f"{self.dj} is now streaming on tilderadio! tune in here now: {LISTEN_URL}"
# post toot to @tilderadio
self.mastodon.toot(newdj_message)