Dev 0903221829
Changed file system
This commit is contained in:
1 parent
7e33d5fe51
commit
b1613286fd
12 files changed
+58
-13
No files matched your search
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
/Tests/
|
/Tests/
|
||||||
buildEXE.txt
|
|
||||||
MultiMate_Player.pyw
|
MultiMate_Player.pyw
|
||||||
*.list
|
*.list
|
||||||
cfg.cfg
|
cfg.cfg
|
||||||
/.idea/
|
/.idea/
|
||||||
|
/build/
|
||||||
|
/dist/
|
||||||
+15
-12
@@ -1,11 +1,16 @@
|
|||||||
import random
|
import json
|
||||||
import time
|
import os
|
||||||
import platform
|
import platform
|
||||||
import sys, subprocess, os
|
import random
|
||||||
|
import subprocess
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
import urllib.request
|
import urllib.request
|
||||||
import json
|
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
||||||
|
import resources.pafy_fix.pafy as pafy
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import vlc
|
import vlc
|
||||||
except:
|
except:
|
||||||
@@ -18,8 +23,6 @@ except:
|
|||||||
subprocess.check_call([sys.executable, "-m", "pip", "install", 'youtube_dl'])
|
subprocess.check_call([sys.executable, "-m", "pip", "install", 'youtube_dl'])
|
||||||
import youtube_dl
|
import youtube_dl
|
||||||
|
|
||||||
import resources.pafy_fix.pafy as pafy
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import requests
|
import requests
|
||||||
except:
|
except:
|
||||||
@@ -76,7 +79,7 @@ try:
|
|||||||
rpc.connect()
|
rpc.connect()
|
||||||
if config['showrpc']:
|
if config['showrpc']:
|
||||||
rpc.update(details="Just started app", state="Nothing is beeing listened...", large_image="multimate",
|
rpc.update(details="Just started app", state="Nothing is beeing listened...", large_image="multimate",
|
||||||
start=time.time())
|
start=int(time.time()))
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@@ -107,7 +110,7 @@ class Ui_MainWindow(QtWidgets.QMainWindow):
|
|||||||
MainWindow.resize(801, 580)
|
MainWindow.resize(801, 580)
|
||||||
MainWindow.setMinimumSize(QtCore.QSize(801, 580))
|
MainWindow.setMinimumSize(QtCore.QSize(801, 580))
|
||||||
MainWindow.setMaximumSize(QtCore.QSize(801, 580))
|
MainWindow.setMaximumSize(QtCore.QSize(801, 580))
|
||||||
MainWindow.setWindowIcon(QtGui.QIcon('resources/MultiMate.ico'))
|
MainWindow.setWindowIcon(QtGui.QIcon('resources/img/MultiMate.ico'))
|
||||||
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
||||||
self.centralwidget.setObjectName("centralwidget")
|
self.centralwidget.setObjectName("centralwidget")
|
||||||
self.timeline = QtWidgets.QSlider(self.centralwidget)
|
self.timeline = QtWidgets.QSlider(self.centralwidget)
|
||||||
@@ -130,7 +133,7 @@ class Ui_MainWindow(QtWidgets.QMainWindow):
|
|||||||
self.playpausePicture = QtWidgets.QLabel(self.centralwidget)
|
self.playpausePicture = QtWidgets.QLabel(self.centralwidget)
|
||||||
self.playpausePicture.setGeometry(QtCore.QRect(390, 520, 40, 40))
|
self.playpausePicture.setGeometry(QtCore.QRect(390, 520, 40, 40))
|
||||||
self.playpausePicture.setText("")
|
self.playpausePicture.setText("")
|
||||||
self.playpausePicture.setPixmap(QtGui.QPixmap("resources/MultiMate40x40.png"))
|
self.playpausePicture.setPixmap(QtGui.QPixmap("resources/img/MultiMate40x40.png"))
|
||||||
self.playpausePicture.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
|
self.playpausePicture.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
|
||||||
self.playpausePicture.setObjectName("playpausePicture")
|
self.playpausePicture.setObjectName("playpausePicture")
|
||||||
|
|
||||||
@@ -147,7 +150,7 @@ class Ui_MainWindow(QtWidgets.QMainWindow):
|
|||||||
self.prevPicture = QtWidgets.QLabel(self.centralwidget)
|
self.prevPicture = QtWidgets.QLabel(self.centralwidget)
|
||||||
self.prevPicture.setGeometry(QtCore.QRect(340, 520, 40, 40))
|
self.prevPicture.setGeometry(QtCore.QRect(340, 520, 40, 40))
|
||||||
self.prevPicture.setText("")
|
self.prevPicture.setText("")
|
||||||
self.prevPicture.setPixmap(QtGui.QPixmap("resources/prev.png"))
|
self.prevPicture.setPixmap(QtGui.QPixmap("resources/img/prev.png"))
|
||||||
self.prevPicture.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
|
self.prevPicture.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
|
||||||
self.prevPicture.setObjectName("prevPicture")
|
self.prevPicture.setObjectName("prevPicture")
|
||||||
self.nextbutton = QtWidgets.QPushButton(self.centralwidget)
|
self.nextbutton = QtWidgets.QPushButton(self.centralwidget)
|
||||||
@@ -163,7 +166,7 @@ class Ui_MainWindow(QtWidgets.QMainWindow):
|
|||||||
self.nextPicture = QtWidgets.QLabel(self.centralwidget)
|
self.nextPicture = QtWidgets.QLabel(self.centralwidget)
|
||||||
self.nextPicture.setGeometry(QtCore.QRect(440, 520, 40, 40))
|
self.nextPicture.setGeometry(QtCore.QRect(440, 520, 40, 40))
|
||||||
self.nextPicture.setText("")
|
self.nextPicture.setText("")
|
||||||
self.nextPicture.setPixmap(QtGui.QPixmap("resources/next.png"))
|
self.nextPicture.setPixmap(QtGui.QPixmap("resources/img/next.png"))
|
||||||
self.nextPicture.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
|
self.nextPicture.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
|
||||||
self.nextPicture.setObjectName("nextPicture")
|
self.nextPicture.setObjectName("nextPicture")
|
||||||
|
|
||||||
@@ -194,7 +197,7 @@ class Ui_MainWindow(QtWidgets.QMainWindow):
|
|||||||
self.VolDialBG = QtWidgets.QLabel(self.centralwidget)
|
self.VolDialBG = QtWidgets.QLabel(self.centralwidget)
|
||||||
self.VolDialBG.setGeometry(QtCore.QRect(720, 0, 81, 81))
|
self.VolDialBG.setGeometry(QtCore.QRect(720, 0, 81, 81))
|
||||||
self.VolDialBG.setText("")
|
self.VolDialBG.setText("")
|
||||||
self.VolDialBG.setPixmap(QtGui.QPixmap("resources/MultiMate80x80.png"))
|
self.VolDialBG.setPixmap(QtGui.QPixmap("resources/img/MultiMate80x80.png"))
|
||||||
self.VolDialBG.setObjectName("VolDialBG")
|
self.VolDialBG.setObjectName("VolDialBG")
|
||||||
self.playlistsComboBox = QtWidgets.QComboBox(self.centralwidget)
|
self.playlistsComboBox = QtWidgets.QComboBox(self.centralwidget)
|
||||||
self.playlistsComboBox.setGeometry(QtCore.QRect(0, 0, 231, 22))
|
self.playlistsComboBox.setGeometry(QtCore.QRect(0, 0, 231, 22))
|
||||||
|
|||||||
@@ -0,0 +1,40 @@
|
|||||||
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
|
block_cipher = None
|
||||||
|
|
||||||
|
|
||||||
|
a = Analysis(['MultiMate_Player.py'],
|
||||||
|
pathex=[],
|
||||||
|
binaries=[],
|
||||||
|
datas=[],
|
||||||
|
hiddenimports=[],
|
||||||
|
hookspath=[],
|
||||||
|
hooksconfig={},
|
||||||
|
runtime_hooks=[],
|
||||||
|
excludes=[],
|
||||||
|
win_no_prefer_redirects=False,
|
||||||
|
win_private_assemblies=False,
|
||||||
|
cipher=block_cipher,
|
||||||
|
noarchive=False)
|
||||||
|
pyz = PYZ(a.pure, a.zipped_data,
|
||||||
|
cipher=block_cipher)
|
||||||
|
|
||||||
|
exe = EXE(pyz,
|
||||||
|
a.scripts,
|
||||||
|
a.binaries,
|
||||||
|
a.zipfiles,
|
||||||
|
a.datas,
|
||||||
|
[],
|
||||||
|
name='MultiMate_Player',
|
||||||
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
runtime_tmpdir=None,
|
||||||
|
console=False,
|
||||||
|
disable_windowed_traceback=False,
|
||||||
|
target_arch=None,
|
||||||
|
codesign_identity=None,
|
||||||
|
entitlements_file=None , icon='resources\\MultiMate.ico')
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
pyinstaller --noconfirm --onefile --windowed --icon "resources/MultiMate.ico" "MultiMate_Player.py"
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user