forked from Wobbl/Wobuzz
MPRIS: Switching from python-sdbus to jeepney, no functionality.
This commit is contained in:
parent
a236370d47
commit
f23530628c
14 changed files with 301 additions and 125 deletions
|
@ -8,6 +8,7 @@ from .utils import Utils
|
|||
from .player import Player
|
||||
from .library.library import Library
|
||||
from .gui import GUI
|
||||
from .mpris import MPRISServer
|
||||
|
||||
|
||||
class Wobuzz:
|
||||
|
@ -22,6 +23,9 @@ class Wobuzz:
|
|||
self.library = Library(self)
|
||||
self.player = Player(self)
|
||||
self.gui = GUI(self)
|
||||
self.mpris_server = MPRISServer(self)
|
||||
self.gui.window.mpris_signal.connect(self.mpris_server.handle_event)
|
||||
self.mpris_server.start()
|
||||
|
||||
self.late_init()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue