mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
SHOULD_PUT_bye_for_now_FIRST = False
To avoid complaints about non random music.
This commit is contained in:
parent
984ab3570a
commit
96a91f6148
1 changed files with 4 additions and 1 deletions
|
@ -355,7 +355,10 @@ Please check your %(app)s installation.
|
||||||
if music:
|
if music:
|
||||||
app.music_playlist = list(music)[:]
|
app.music_playlist = list(music)[:]
|
||||||
app.miscrandom.shuffle(app.music_playlist)
|
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:
|
for m in app.music_playlist:
|
||||||
if m.name.lower() == "bye_for_now":
|
if m.name.lower() == "bye_for_now":
|
||||||
app.music_playlist.remove(m)
|
app.music_playlist.remove(m)
|
||||||
|
|
Loading…
Add table
Reference in a new issue