MPRIS: Switching from python-sdbus to jeepney, no functionality.

This commit is contained in:
The Wobbler 2025-04-16 16:57:01 +02:00
parent a236370d47
commit f23530628c
14 changed files with 301 additions and 125 deletions

View file

@ -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()