Implement Notification support. Fixes #8.
Implemented Notification support using notify-send as opposed to libnotify. This is because notify_notification_send does a synchronous dbus call to org.freedesktop.Notification and typically results in DBus timeouts. In the near future we will rewrite this to just use our own proxy and do an async send. Refactored our GVariant metadata generation for a KotoIndexedTrack into a dedicated koto_indexed_track_get_metadata_vardict function. This can then be used across our playback engine and MPRIS.
This commit is contained in:
parent
a3632b8757
commit
3e0e21e246
6 changed files with 115 additions and 74 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include <glib/gi18n.h>
|
||||
#include <gstreamer-1.0/gst/gst.h>
|
||||
#include <libnotify/notify.h>
|
||||
#include "db/cartographer.h"
|
||||
#include "db/db.h"
|
||||
#include "playback/media-keys.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue