aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-02-27 21:42:16 -0800
committerScott Jackson <daneren2005@gmail.com>2013-02-27 21:42:16 -0800
commitbddf9e19783b9ec6d1841c56b8a8990f8c36e166 (patch)
treea2c6bc349d101afb117c3ba7a8ff1b3bc299e4ec
parentd443df9b225058921092f932effa17508d2282cf (diff)
downloaddsub-bddf9e19783b9ec6d1841c56b8a8990f8c36e166.tar.gz
dsub-bddf9e19783b9ec6d1841c56b8a8990f8c36e166.tar.bz2
dsub-bddf9e19783b9ec6d1841c56b8a8990f8c36e166.zip
Scrobble in RC mode
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/JukeboxService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/JukeboxService.java b/subsonic-android/src/github/daneren2005/dsub/service/JukeboxService.java
index feeae2a7..96b82336 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/JukeboxService.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/JukeboxService.java
@@ -119,7 +119,9 @@ public class JukeboxService {
// Track change?
Integer index = jukeboxStatus.getCurrentPlayingIndex();
if (index != null && index != -1 && index != downloadService.getCurrentPlayingIndex()) {
+ downloadService.setPlayerState(PlayerState.COMPLETED);
downloadService.setCurrentPlaying(index, true);
+ downloadService.setPlayerState(PlayerState.STARTED);
}
}