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

pass correct i

This commit is contained in:
Kuba
2025-10-14 16:12:26 +02:00
parent d80849df4b
commit f8c78a9131

View File

@@ -240,7 +240,7 @@ def play_playlist(playlist_path):
track, to_fade_in, to_fade_out, official, args = track_tuple track, to_fade_in, to_fade_out, official, args = track_tuple
track_path = os.path.abspath(os.path.expanduser(track)) 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) track_name = os.path.basename(track_path)
refresh = playlist_advisor.new_playlist() refresh = playlist_advisor.new_playlist()