From de74a033f625ad75bc01e9cccebfd47add097a53 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Tue, 15 Sep 2015 01:36:33 +0200 Subject: [PATCH] Try to support controlling multiple music players This tries to control the last player that played a (new) song. It is very limited since we cannot get the source of an intent. Instead we try to guess from the Action. The problem is that we cannot support players that use only the action "com.android.music.XXXX" and not something own. Also try to blindly support getting spotify metadata (for testing #112) --- app/src/main/AndroidManifest.xml | 1 + .../externalevents/MusicPlaybackReceiver.java | 17 +++++++++++++++++ .../receivers/GBMusicControlReceiver.java | 11 +++++++++++ 3 files changed, 29 insertions(+) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9dfd1d545..3c5870021 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -230,6 +230,7 @@ +