fix(web): Random mode was broken.

Fixes #307.
This commit is contained in:
Terry Geng 2022-01-17 21:39:49 -05:00
parent b0542b955e
commit 6e3b1cb673

View File

@ -439,7 +439,7 @@ def post():
elif 'action' in payload:
action = payload['action']
if action == "randomize":
if action == "random":
if var.playlist.mode != "random":
var.playlist = media.playlist.get_playlist("random", var.playlist)
else: