vlc | branch: master | Marvin Scholz <epira...@gmail.com> | Thu Oct 22 18:18:52 
2015 +0200| [a4488eada15774868d1f79c7d84aee002f345838] | committer: 
Jean-Baptiste Kempf

osx_notifications: Coalesce Growl notifications

Set an identifier for the VLC Notifications to make
them coalesce when changing tracks rapidly one
after another. (closes #10386)

Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4488eada15774868d1f79c7d84aee002f345838
---

 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 6077f3a..20f7d07 100644
--- a/modules/notify/osx_notifications.m
+++ b/modules/notify/osx_notifications.m
@@ -390,7 +390,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

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to