forked from Wobbl/Wobuzz
Added a "track_info"-toolbar which shows an image found in the current audio file's metadata (usually the front-cover) and information about the currently playing track such as title and artist name.
This commit is contained in:
parent
ccda6b30c8
commit
39bd7e3167
5 changed files with 101 additions and 5 deletions
|
@ -15,6 +15,7 @@ class GUI:
|
|||
self.settings = self.window.settings
|
||||
self.track_control = self.window.track_control
|
||||
self.process_dock = self.window.process_dock
|
||||
self.track_info = self.window.track_info
|
||||
|
||||
self.window.addDockWidget(Qt.DockWidgetArea.LeftDockWidgetArea, self.app.library.main_library_dock)
|
||||
|
||||
|
@ -62,3 +63,7 @@ class GUI:
|
|||
def on_background_job_stop(self, job_name: str):
|
||||
self.process_dock.job_finished_signal.emit(job_name)
|
||||
|
||||
def on_playstate_update(self):
|
||||
self.track_control.on_playstate_update()
|
||||
self.track_info.update_info()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue