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:
parent
352bfa30de
commit
0394d9b8e1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue