Small 1010211136:
Discord Rich Presence devs and updates
This commit is contained in:
@@ -750,6 +750,8 @@ def mixPlaylist():
|
|||||||
print("Mixed!")
|
print("Mixed!")
|
||||||
|
|
||||||
def updateAppPy():
|
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')
|
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:
|
with zipfile.ZipFile('resources/resources.zip', 'r') as archfile:
|
||||||
archfile.extractall("resources")
|
archfile.extractall("resources")
|
||||||
@@ -760,7 +762,6 @@ def updateAppPy():
|
|||||||
exit()
|
exit()
|
||||||
|
|
||||||
MainWindow.show()
|
MainWindow.show()
|
||||||
|
|
||||||
cls()
|
cls()
|
||||||
|
|
||||||
ui.openPlaylistButton.clicked.connect(getplaylist)
|
ui.openPlaylistButton.clicked.connect(getplaylist)
|
||||||
|
|||||||
Reference in New Issue
Block a user