Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add libnotify notifications on song change? #8

Open
helkaluin opened this issue Mar 22, 2016 · 0 comments
Open

Add libnotify notifications on song change? #8

helkaluin opened this issue Mar 22, 2016 · 0 comments

Comments

@helkaluin
Copy link

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();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant