From fd4d476d3854515355c7b9a33256518a91c0add3 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Thu, 2 Oct 2025 13:12:46 +0200 Subject: [PATCH] more random? --- radioPlayer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/radioPlayer.py b/radioPlayer.py index 1bbb1b7..405ef89 100644 --- a/radioPlayer.py +++ b/radioPlayer.py @@ -239,7 +239,7 @@ def play_playlist(playlist_path, custom_playlist: bool=False, do_shuffle=True): if do_shuffle: random.seed() - random.shuffle(lines) + for _ in range(random.randrange(1,10)): random.shuffle(lines) playlist: list[tuple[str, bool, bool, bool]] = [] # name, fade in, fade out, official last_jingiel = True @@ -255,7 +255,6 @@ def play_playlist(playlist_path, custom_playlist: bool=False, do_shuffle=True): playlist.append((track2, True, True, True)) last_jingiel = False del last_jingiel - return_pending = False