0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-27 14:13:55 +01:00
This commit is contained in:
Kuba
2025-10-11 19:09:18 +02:00
parent 6a4d03b057
commit 2ad33ca2c1

View File

@@ -57,7 +57,7 @@ def update_rds(track_name: str):
prt = rds_base.format(artist, title) prt = rds_base.format(artist, title)
rtp = [4] # type 1 rtp = [4] # type 1
rtp.append(prt.find(artist)) # start 1 rtp.append(prt.find(artist)) # start 1
rtp.append(len(artist)) # len 1 rtp.append(len(artist) - 1) # len 1
rtp.append(1) # type 2 rtp.append(1) # type 2
rtp.append(prt.find(title)) # start 2 rtp.append(prt.find(title)) # start 2
rtp.append(len(title) - 1) # len 2 rtp.append(len(title) - 1) # len 2