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

junk junk

This commit is contained in:
2025-10-23 15:28:45 +02:00
parent eea8b9c608
commit d81abe2c5e

View File

@@ -47,7 +47,7 @@ def update_rds(track_name: str):
title = name
if not has_name: logger.warning(f"File does not have a alias in the name table ({track_name})")
title = re.sub(r'\s*[\(\[][^\(\)\[\]]*[\)\]]', '', title) # there might be junk
# title = re.sub(r'\s*[\(\[][^\(\)\[\]]*[\)\]]', '', title) # there might be junk
prt = rds_base.format(artist, title)
rtp = [4] # type 1
@@ -72,4 +72,4 @@ class Module(PlayerModule):
rds_rt, rds_rtp = update_rds(os.path.basename(track))
logger.info(f"RT set to '{rds_rt}' (RTP: {rds_rtp})")
module = Module()
module = Module()