Comments (4)
import glib
does not work. The new (?) and recommended way seems to befrom gi.repository import GLib
While pygobject 2.x is deprecated, it is still usable and can be installed side-by-side with pygobject 3.x (I think Gentoo calls it "slots"?)
Anyway, mpDris2-git will now use the best available version.
It seems Notify is not backwards compatible.
Yes, the custom pynotify bindings were a bit different from the real libnotify API.
I'll try to port mpDris2 away from pynotify; until then, install dev-python/py-notify
.
from mpdris2.
Ported to GObject.Notify in git.
from mpdris2.
Thanks for the fixes!
I already tried py-notify, but it seems to offer yet another API for notifications. There is no pynotify import, you have to import "notify.all" or similar, according to the docs. That's why I thought it's the old way to import notify, just like "glib".
So never mind, everything is going fine now :)
from mpdris2.
Ah, it might be dev-python/notify-python
in that case.
from mpdris2.
Related Issues (20)
- Time for another release? HOT 1
- systemd unit starts too early, so no notification system is initialized yet
- Feature request: option to disable "MPD Notification" line in notification HOT 4
- Can this work on the tty shell? HOT 5
- If mpd is killed, mpDris2 attempts to connect every second HOT 5
- Error starting mpDris2 (git) on Ubuntu 19.04 HOT 2
- Missing file po/Makefile.in HOT 3
- mpDris2 crashes if mutagen can't read the file HOT 3
- Randomly getting "socket.timeout: timed out" on GNOME HOT 3
- Make polling intervals configurable
- Find cover feature causes mpDris2 to crash when playing music from a zip file
- DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2 HOT 1
- Ignoring duplicate name 'org.mpris.MediaPlayer2.mpd' HOT 1
- Empty value for album artist HOT 4
- GLib has no MainLoop() HOT 1
- Request: better configuration to notifications HOT 6
- connection refused error when starting. HOT 2
- GENRE HOT 2
- For some reason still shows notifications...
- System Service regularly crashes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpdris2.