You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-27 06:03:52 +01:00
Merge branch 'main' of https://github.com/radio95-rnt/RadioPlayer
This commit is contained in:
@@ -47,7 +47,7 @@ def update_rds(track_name: str):
|
|||||||
title = name
|
title = name
|
||||||
if not has_name: logger.warning(f"File does not have a alias in the name table ({track_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)
|
prt = rds_base.format(artist, title)
|
||||||
rtp = [4] # type 1
|
rtp = [4] # type 1
|
||||||
@@ -72,4 +72,4 @@ class Module(PlayerModule):
|
|||||||
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()
|
module = Module()
|
||||||
|
|||||||
Reference in New Issue
Block a user