Commit c70a7e47 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx/SPMediaKeyTap: update list of collaborating apps (close #8644)

(cherry picked from commit 4eaf633347e554cb83121b06623dbcba1ea36c3f)

Conflicts:
	modules/gui/macosx/SPMediaKeyTap.m
parent a19cc901
...@@ -132,31 +132,35 @@ static CGEventRef tapEventCallback(CGEventTapProxy proxy, CGEventType type, CGEv ...@@ -132,31 +132,35 @@ static CGEventRef tapEventCallback(CGEventTapProxy proxy, CGEventType type, CGEv
+ (NSArray*)defaultMediaKeyUserBundleIdentifiers; + (NSArray*)defaultMediaKeyUserBundleIdentifiers;
{ {
return [NSArray arrayWithObjects: return [NSArray arrayWithObjects:
[[NSBundle mainBundle] bundleIdentifier], // your app [[NSBundle mainBundle] bundleIdentifier], // your app
@"com.spotify.client", @"com.spotify.client",
@"com.apple.iTunes", @"com.apple.iTunes",
@"com.apple.QuickTimePlayerX", @"com.apple.QuickTimePlayerX",
@"com.apple.quicktimeplayer", @"com.apple.quicktimeplayer",
@"com.apple.iWork.Keynote", @"com.apple.iWork.Keynote",
@"com.apple.iPhoto", @"com.apple.iPhoto",
@"org.videolan.vlc", @"org.videolan.vlc",
@"com.apple.Aperture", @"com.apple.Aperture",
@"com.plexsquared.Plex", @"com.plexsquared.Plex",
@"com.soundcloud.desktop", @"com.soundcloud.desktop",
@"org.niltsh.MPlayerX", @"org.niltsh.MPlayerX",
@"com.ilabs.PandorasHelper", @"com.ilabs.PandorasHelper",
@"com.mahasoftware.pandabar", @"com.mahasoftware.pandabar",
@"com.bitcartel.pandorajam", @"com.bitcartel.pandorajam",
@"org.clementine-player.clementine", @"org.clementine-player.clementine",
@"fm.last.Last.fm", @"fm.last.Last.fm",
@"com.beatport.BeatportPro", @"fm.last.Scrobbler",
@"com.Timenut.SongKey", @"com.beatport.BeatportPro",
@"com.macromedia.fireworks", // the tap messes up their mouse input @"com.Timenut.SongKey",
nil @"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];
} }
-(BOOL)shouldInterceptMediaKeyEvents; -(BOOL)shouldInterceptMediaKeyEvents;
{ {
BOOL shouldIntercept = NO; BOOL shouldIntercept = NO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment