readme
This commit is contained in:
parent
f552fd9828
commit
b2406d2cbe
@ -55,5 +55,6 @@ config.ini db/
|
|||||||
- automatic "radio" based on artist or genre
|
- automatic "radio" based on artist or genre
|
||||||
- search bar, full text search on song, artist, album
|
- search bar, full text search on song, artist, album
|
||||||
- when table is focused, start typing to match against the primary sort column
|
- when table is focused, start typing to match against the primary sort column
|
||||||
|
- improve audio visualizer - see Renoise
|
||||||
- "installer" - put files in /opt? script to install and uninstall... eh
|
- "installer" - put files in /opt? script to install and uninstall... eh
|
||||||
- .deb package?
|
- .deb package?
|
||||||
|
|||||||
15
main.py
15
main.py
@ -49,10 +49,6 @@ from components import (
|
|||||||
ExportPlaylistWindow,
|
ExportPlaylistWindow,
|
||||||
)
|
)
|
||||||
|
|
||||||
# Create ui.py file from Qt Designer
|
|
||||||
# pyuic5 ui.ui -o ui.py
|
|
||||||
|
|
||||||
|
|
||||||
# good help with signals slots in threads
|
# good help with signals slots in threads
|
||||||
# https://stackoverflow.com/questions/52993677/how-do-i-setup-signals-and-slots-in-pyqt-with-qthreads-in-both-directions
|
# https://stackoverflow.com/questions/52993677/how-do-i-setup-signals-and-slots-in-pyqt-with-qthreads-in-both-directions
|
||||||
|
|
||||||
@ -140,6 +136,12 @@ class ApplicationWindow(QMainWindow, Ui_MainWindow):
|
|||||||
super(ApplicationWindow, self).__init__()
|
super(ApplicationWindow, self).__init__()
|
||||||
global stopped
|
global stopped
|
||||||
stopped = False
|
stopped = False
|
||||||
|
# Config
|
||||||
|
self.config: ConfigParser = ConfigParser()
|
||||||
|
self.cfg_file = (
|
||||||
|
Path(user_config_dir(appname="musicpom", appauthor="billypom"))
|
||||||
|
/ "config.ini"
|
||||||
|
)
|
||||||
# Multithreading stuff...
|
# Multithreading stuff...
|
||||||
self.threadpool = QThreadPool()
|
self.threadpool = QThreadPool()
|
||||||
# UI
|
# UI
|
||||||
@ -154,11 +156,6 @@ class ApplicationWindow(QMainWindow, Ui_MainWindow):
|
|||||||
self.current_song_metadata: ID3 | dict | None = None
|
self.current_song_metadata: ID3 | dict | None = None
|
||||||
self.current_song_album_art: bytes | None = None
|
self.current_song_album_art: bytes | None = None
|
||||||
self.album_art_scene: QGraphicsScene = QGraphicsScene()
|
self.album_art_scene: QGraphicsScene = QGraphicsScene()
|
||||||
self.config: ConfigParser = ConfigParser()
|
|
||||||
self.cfg_file = (
|
|
||||||
Path(user_config_dir(appname="musicpom", appauthor="billypom"))
|
|
||||||
/ "config.ini"
|
|
||||||
)
|
|
||||||
self.config.read(self.cfg_file)
|
self.config.read(self.cfg_file)
|
||||||
self.player: QMediaPlayer = QMediaPlayer() # Audio player object
|
self.player: QMediaPlayer = QMediaPlayer() # Audio player object
|
||||||
self.probe: QAudioProbe = QAudioProbe() # Gets audio data
|
self.probe: QAudioProbe = QAudioProbe() # Gets audio data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user