Skip to content

Add libnotify notifications on song change? #8

Description

@helkaluin

Would this be a possible addition?

It'll be great if I could actually know which module is being played (I normally call xmp on a non-discriminatory find in my modules library). Given you already have the necessary information store in mi->mod->name and such, adding this shouldn't be that hard right?

Example code for libnotify in C:

#include <libnotify/notify.h>
void main () {
    notify_init ("Hello world!");
    NotifyNotification * Hello = notify_notification_new ("Hello world", "This is an example notification.", "dialog-information");
    notify_notification_show (Hello, NULL);
    g_object_unref(G_OBJECT(Hello));
    notify_uninit();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions