From 96a91f6148c432f13a772a50324e396dbe5aa753 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sun, 23 Feb 2020 12:30:37 +0200 Subject: [PATCH] SHOULD_PUT_bye_for_now_FIRST = False To avoid complaints about non random music. --- pysollib/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pysollib/main.py b/pysollib/main.py index 7375abfc..ef7fa320 100644 --- a/pysollib/main.py +++ b/pysollib/main.py @@ -355,7 +355,10 @@ Please check your %(app)s installation. if music: app.music_playlist = list(music)[:] app.miscrandom.shuffle(app.music_playlist) - if 1: + # Cancelling because otherwise people complain + # that the music order is not random. + SHOULD_PUT_bye_for_now_FIRST = False + if SHOULD_PUT_bye_for_now_FIRST: for m in app.music_playlist: if m.name.lower() == "bye_for_now": app.music_playlist.remove(m)