aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHumbleBeeBumbleBee <HumbleBeeBumbleBeeDebugs@gmail.com>2016-07-17 20:59:43 -0400
committerGitHub <noreply@github.com>2016-07-17 20:59:43 -0400
commit7d39136cc0cb2b3d9d86e37df283eece715174e9 (patch)
treee3711720682ef9bbb06d05f7101178ca20ead688 /app
parent82399945f6287e8d7630532dfe8a4d1a7fa9c747 (diff)
downloaddsub-7d39136cc0cb2b3d9d86e37df283eece715174e9.tar.gz
dsub-7d39136cc0cb2b3d9d86e37df283eece715174e9.tar.bz2
dsub-7d39136cc0cb2b3d9d86e37df283eece715174e9.zip
Scrobble source
Helps with track informatoin broadcasts for scrobblers.
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/Util.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/Util.java b/app/src/main/java/github/daneren2005/dsub/util/Util.java
index 9f742ef0..e22b55f0 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/Util.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/Util.java
@@ -1512,6 +1512,7 @@ public final class Util {
intent.putExtra("duration", (long) downloadService.getPlayerDuration());
intent.putExtra("position", (long) downloadService.getPlayerPosition());
intent.putExtra("coverart", albumArtFile.getAbsolutePath());
+ intent.putExtra("package","github.daneren2005.dsub");
} else {
intent.putExtra("track", "");
intent.putExtra("artist", "");
@@ -1521,6 +1522,7 @@ public final class Util {
intent.putExtra("duration", (long) 0);
intent.putExtra("position", (long) 0);
intent.putExtra("coverart", "");
+ intent.putExtra("package","github.daneren2005.dsub");
}
}