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

that is wrong

This commit is contained in:
Kuba
2025-10-14 15:45:11 +02:00
parent cd8cb775df
commit f0b948a733

View File

@@ -254,9 +254,9 @@ def play_playlist(playlist_path):
logger.info(f"Now playing: {track_name}")
if modified:
logger.info(f"Next up: {os.path.basename(playlist[i][0])}")
else:
if (i + 1) < len(playlist): logger.info(f"Next up: {os.path.basename(playlist[i+1][0])}")
else:
logger.info(f"Next up: {os.path.basename(playlist[i][0])}")
pr = procman.play(track_path, to_fade_in, to_fade_out)