--- src/DBus/sayonara-ctl.orig 2024-06-11 21:55:30 UTC +++ src/DBus/sayonara-ctl @@ -5,7 +5,7 @@ import sys import argparse try: - from pydbus import SessionBus + from dbus import SessionBus except ImportError as e: print("Cannot find pydbus module. Please install first") sys.exit(1) @@ -38,7 +38,7 @@ def main(): bus = SessionBus() try: global gSayonaraInstance - gSayonaraInstance = bus.get( + gSayonaraInstance = bus.get_object( "org.mpris.MediaPlayer2.sayonara", # Bus name "/org/mpris/MediaPlayer2" # Object path )