mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-31 00:09:16 +02:00
fix rds
This commit is contained in:
+3
-1
@@ -75,4 +75,6 @@ class Module(PlayerModule):
|
|||||||
def on_new_track(self, index: int, track: str, to_fade_in: bool, to_fade_out: bool, official: bool):
|
def on_new_track(self, index: int, track: str, to_fade_in: bool, to_fade_out: bool, official: bool):
|
||||||
if official:
|
if official:
|
||||||
rds_rt, rds_rtp = update_rds(os.path.basename(track))
|
rds_rt, rds_rtp = update_rds(os.path.basename(track))
|
||||||
logger.info(f"RT set to '{rds_rt}' (RTP: {rds_rtp})")
|
logger.info(f"RT set to '{rds_rt}' (RTP: {rds_rtp})")
|
||||||
|
|
||||||
|
module = Module()
|
||||||
Reference in New Issue
Block a user