From 671d4af7273904967004bb7a05c37e1d84d848a4 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Sun, 10 Oct 2021 11:36:30 +0300 Subject: [PATCH] Small 1010211136: Discord Rich Presence devs and updates --- MultiMate_Player.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MultiMate_Player.py b/MultiMate_Player.py index 1f8b9c3..49d23c0 100644 --- a/MultiMate_Player.py +++ b/MultiMate_Player.py @@ -750,6 +750,8 @@ def mixPlaylist(): print("Mixed!") def updateAppPy(): + rpc.update(details="Updating", state="Everything needs to br up-to-date", large_image="multimate", + start=time.time()) urllib.request.urlretrieve("https://github.com/BarsTiger/MultiMatePlayer/raw/master/resources/resources.zip", 'resources/resources.zip') with zipfile.ZipFile('resources/resources.zip', 'r') as archfile: archfile.extractall("resources") @@ -760,7 +762,6 @@ def updateAppPy(): exit() MainWindow.show() - cls() ui.openPlaylistButton.clicked.connect(getplaylist)