0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-27 06:03:52 +01:00

update modules

This commit is contained in:
KubaPro010
2025-11-06 15:49:04 +01:00
parent cc46766e6c
commit 1183da1b0d
7 changed files with 20 additions and 16 deletions

View File

@@ -73,7 +73,7 @@ def update_rds(track_name: str):
class Module(PlayerModule):
def on_new_track(self, index: int, track: Track):
if track.official:
rds_rt, rds_rtp = update_rds(os.path.basename(track.path))
rds_rt, rds_rtp = update_rds(track.path.name)
logger.info(f"RT set to '{rds_rt}'")
logger.debug(f"{rds_rtp=}")