]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/SPMediaKeyTap.m
macosx: lock access to addon_entry_t
[vlc] / modules / gui / macosx / SPMediaKeyTap.m
index daf7b0218b89b7cc4aeb25c63c7688e78fcd233d..8cb8e25cf78a1aea43c2d1b134df2be104f3ea70 100644 (file)
@@ -131,7 +131,8 @@ static CGEventRef tapEventCallback(CGEventTapProxy proxy, CGEventType type, CGEv
 
 + (NSArray*)defaultMediaKeyUserBundleIdentifiers;
 {
-    return @[[[NSBundle mainBundle] bundleIdentifier], // your app
+    return [NSArray arrayWithObjects:
+            [[NSBundle mainBundle] bundleIdentifier], // your app
              @"com.spotify.client",
              @"com.apple.iTunes",
              @"com.apple.QuickTimePlayerX",
@@ -148,9 +149,16 @@ static CGEventRef tapEventCallback(CGEventTapProxy proxy, CGEventType type, CGEv
              @"com.bitcartel.pandorajam",
              @"org.clementine-player.clementine",
              @"fm.last.Last.fm",
+             @"fm.last.Scrobbler",
              @"com.beatport.BeatportPro",
              @"com.Timenut.SongKey",
              @"com.macromedia.fireworks", // the tap messes up their mouse input
+             @"at.justp.Theremin",
+             @"ru.ya.themblsha.YandexMusic",
+             @"com.jriver.MediaCenter18",
+             @"com.jriver.MediaCenter19",
+             @"com.jriver.MediaCenter20",
+            nil
     ];
 }