Debug 1010211935:
Fixed mix button crash, when playlist isn't opened
This commit is contained in:
@@ -827,8 +827,11 @@ def delSongFromPl():
|
|||||||
|
|
||||||
def mixPlaylist():
|
def mixPlaylist():
|
||||||
global listplaylist
|
global listplaylist
|
||||||
random.shuffle(listplaylist)
|
try:
|
||||||
print("Mixed!")
|
random.shuffle(listplaylist)
|
||||||
|
print("Mixed!")
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def updateAppPy():
|
def updateAppPy():
|
||||||
rpc.update(details="Updating", state="Everything needs to be up-to-date", large_image="multimate",
|
rpc.update(details="Updating", state="Everything needs to be up-to-date", large_image="multimate",
|
||||||
|
|||||||
Reference in New Issue
Block a user