You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have configured my notification daemon to autostart upon sending a notification, but this seems to not always work with mpd-notificatition (note that it always works with notify-send).
To reproduce:
start mpd-notification
kill the notification daemon
toggle music playback
kill the notification deamon again
toggle music playback again
mpd-notification will then crash with the message:
mpd-notification: Error showing notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.398 was not provided by any .service files
I reproduced it using mpd-notification v0.8.6 and the latest master.
The text was updated successfully, but these errors were encountered:
Well, that's not a crash, but an error caused by failed dbus auto-activation. You say "seems to not always work"... Is it always the second notification deamon start that fails?
Wondering what notify-send does different, though... Perhaps it does try to again on failure?
I've done some more looking and the error is not caused by dbus activation. I can also reproduce it as follows:
Start mpd-notification
Toggle the music to show a notification
Kill the notification daemon
Start the notification daemon again
Toggle the music again to show another notification
At this point mpd-notification exits. So mpd-notification is not able to send notifications to another notification once it has sent one already. Note that step 2 is neccesary. Only after the first notification is sent, mpd-notification cannot switch.
I've tried looking what is done different by notify-send and dunstify (which also works).
I have configured my notification daemon to autostart upon sending a notification, but this seems to not always work with mpd-notificatition (note that it always works with
notify-send
).To reproduce:
mpd-notification will then crash with the message:
I reproduced it using mpd-notification v0.8.6 and the latest master.
The text was updated successfully, but these errors were encountered: