This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""mk2mpris.py: forward GNOME media key events to an MPRIS2 player. | |
""" | |
import dbus | |
from dbus.mainloop.glib import DBusGMainLoop | |
import gobject | |
APP_NAME = 'mk2mpris' | |
DBUS_INTERFACE_MK = 'org.gnome.SettingsDaemon.MediaKeys' | |
OBJ_PATH_MK = '/org/gnome/SettingsDaemon/MediaKeys' | |
OBJ_NAME_GSETTINGS = 'org.gnome.SettingsDaemon' |