From f8c78a91318a472c370ba0b6463ef7c0ef9d48e5 Mon Sep 17 00:00:00 2001 From: Kuba <132459354+KubaPro010@users.noreply.github.com> Date: Tue, 14 Oct 2025 16:12:26 +0200 Subject: [PATCH] pass correct i --- radioPlayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radioPlayer.py b/radioPlayer.py index f41222c..2095e35 100644 --- a/radioPlayer.py +++ b/radioPlayer.py @@ -240,7 +240,7 @@ def play_playlist(playlist_path): track, to_fade_in, to_fade_out, official, args = track_tuple track_path = os.path.abspath(os.path.expanduser(track)) - for module in simple_modules: module.on_new_track(i, track_path, to_fade_in, to_fade_out, official) + for module in simple_modules: module.on_new_track(song_i, track_path, to_fade_in, to_fade_out, official) track_name = os.path.basename(track_path) refresh = playlist_advisor.new_playlist()