eonpatapon / mpDris2

MPRIS V2.1 support for mpd
GNU General Public License v3.0
211 stars 46 forks source link

GioNotify and DBusServiceObject as a replacement for dbus and libnotify #85

Open JasonLG1979 opened 7 years ago

JasonLG1979 commented 7 years ago

Because the python dbus module is not supported any longer and libnotify does blocking I/O, In Pithos we have recently removed our dbus module and libotify bindings dependency in favor of our own implementations. Both should work for your purposes and be drastic improvements over what they replace. They do require Python 3. I'm not sure if that is a deal breaker. Your project doesn't say which if any version of Python is explicitly supports.

https://github.com/JasonLG1979/possibly-useful-scraps/wiki/GioNotify

https://github.com/pithos/pithos/tree/master/pithos/plugins/dbus_util

https://github.com/pithos/pithos/blob/master/pithos/plugins/_mpris.py

https://github.com/pithos/pithos/blob/master/pithos/plugins/notify.py