[vlc-commits] osx_notifications: Coalesce Growl notifications

Marvin Scholz git at videolan.org
Fri Oct 23 11:28:51 CEST 2015


vlc | branch: master | Marvin Scholz <epirat07 at 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 <jb at 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



More information about the vlc-commits mailing list