mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 23:39:15 +02:00
change web stuff, and add a skip counter instead of skip_next
This commit is contained in:
@@ -81,6 +81,7 @@ class Module(PlayerModule):
|
||||
def on_new_track(self, index: int, track: Track, next_track: Track | None):
|
||||
if track.official:
|
||||
rds_rt, rds_rtp = update_rds(track.path.name)
|
||||
self._imc.send(self, "web", {"rt": rds_rt, "rtp": rds_rtp}, False)
|
||||
logger.info(f"RT set to '{rds_rt}'")
|
||||
logger.debug(f"{rds_rtp=}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user