Skip to content

Commit bda79c9

Browse files
committed
Fix Radio playlists
1 parent 4b2a982 commit bda79c9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/tauon/t_modules/t_main.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26367,10 +26367,9 @@ def read_pls(lines: list[str], path: str, followed: bool = False) -> None:
2636726367
stations: list[RadioStation] = []
2636826368
for id in ids:
2636926369
if id in urls:
26370-
radio = RadioPlaylist(
26371-
stream_url=titles[id] if id in titles else urls[id],
26372-
title=os.path.splitext(os.path.basename(path))[0],
26373-
scroll=0)
26370+
radio = RadioStation(
26371+
stream_url=titles[id] if id in titles else urls[id],
26372+
title=os.path.splitext(os.path.basename(path))[0])
2637426373

2637526374
if ".pls" in radio.stream_url:
2637626375
if not followed:

0 commit comments

Comments
 (0)