--- src/DBus/sayonara-query.orig 2024-06-11 21:55:30 UTC +++ src/DBus/sayonara-query @@ -4,7 +4,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) @@ -77,7 +77,7 @@ def main(): bus = SessionBus() try: - sayonara = bus.get( + sayonara = bus.get_object( 'org.mpris.MediaPlayer2.sayonara', # Bus name '/org/mpris/MediaPlayer2' # Object path )