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

get rid of quiet reloads

This commit is contained in:
Kuba
2025-10-23 19:43:18 +02:00
parent eea8b9c608
commit 17c08bb51a
3 changed files with 10 additions and 14 deletions

View File

@@ -217,13 +217,10 @@ def play_playlist(playlist_path):
refresh = playlist_advisor.new_playlist()
if refresh == 1:
if refresh == True:
logger.info("Reloading now...")
return_pending = True
continue
elif refresh == 2:
return_pending = True
if not procman.anything_playing(): continue
for module in simple_modules: module.on_new_track(song_i, track_path, to_fade_in, to_fade_out, official)