Closed pkillnine closed 8 years ago
This does not work for me. When I define TEXT_TOPIC
to ""
(empty string) or NULL
I get:
(process:31928): libnotify-CRITICAL **: notify_notification_update: assertion 'summary != NULL && *summary != '\0'' failed
Possibly this was added with later versions of libnotify
, but notifications without topic are not supposed to work.
Sorry to necro this, but I do think this would make a great addition. Instead of providing no topic, how about putting "Playing
I tried changing the default topic to show song title, but formatting was all over the place (not only <b, but also quotes). And I don't have the slightest idea how to fix it.
So, instead I went with @Ashe suggestion and just replaced the default topic with the state only. Not what I'd like the most, but still better than before.
I'll open a PR.
I prefer it without a title, so currently I set the title to "" by changing line 19 in config.def.h to
#define TEXT_TOPIC ""
but it would be nice to be able to disable it via the command line without having to recompile it. I don't know C though so I can't add this.