[vlc-devel] [PATCH 3/3] osx_notifications: Coalesce Growl notifications

epirat07 at gmail.com epirat07 at gmail.com
Thu Oct 22 18:18:52 CEST 2015


From: Marvin Scholz <epirat07 at gmail.com>

Set an identifier for the VLC Notifications to make
them coalesce when changing tracks rapidly one
after another. (closes #10386)
---
 modules/notify/osx_notifications.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/notify/osx_notifications.m b/modules/notify/osx_notifications.m
index 7dc133d..3871d7a 100644
--- a/modules/notify/osx_notifications.m
+++ b/modules/notify/osx_notifications.m
@@ -379,7 +379,8 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
                                            iconData:coverImageData
                                            priority:0
                                            isSticky:NO
-                                       clickContext:nil];
+                                       clickContext:nil
+                                         identifier:@"VLCNowPlayingNotification"];
         } else {
 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1080
             // Make the OS X notification and string
-- 
2.2.1



More information about the vlc-devel mailing list