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

fix bad name

This commit is contained in:
2025-09-27 20:15:04 +02:00
parent 0e37ff1ac8
commit f0a4570f2b

View File

@@ -285,7 +285,7 @@ def play_playlist(playlist_path, custom_playlist: bool=False, do_shuffle=True):
logger.info(f"Now playing: {track_name}")
if official: update_rds(track_name)
if i + 1 < len(playlist): logger.info(f"Next up: {os.path.basename(tracks[i+1][0])}")
if i + 1 < len(playlist): logger.info(f"Next up: {os.path.basename(playlist[i+1][0])}")
pr = procman.play(track_path, to_fade_in, to_fade_out)
if official: print_wait(pr.duration - CROSSFADE_DURATION, 1, pr.duration, f"{track_name}: ")