aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-08-11 16:01:13 -0700
committerScott Jackson <daneren2005@gmail.com>2013-08-11 16:01:13 -0700
commit25ae04feb48b387abc8e709d073aa422f2aa1929 (patch)
tree2bcf9554ea88631f2775e2d9464eee36c8eb84f4 /src/github
parent6a7769ea00dcc509a2c4c199f022c9ccfaa9db9f (diff)
downloaddsub-25ae04feb48b387abc8e709d073aa422f2aa1929.tar.gz
dsub-25ae04feb48b387abc8e709d073aa422f2aa1929.tar.bz2
dsub-25ae04feb48b387abc8e709d073aa422f2aa1929.zip
Only show as playing if status is returned of playing
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/service/JukeboxController.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/JukeboxController.java b/src/github/daneren2005/dsub/service/JukeboxController.java
index 06227d5d..fcd58e01 100644
--- a/src/github/daneren2005/dsub/service/JukeboxController.java
+++ b/src/github/daneren2005/dsub/service/JukeboxController.java
@@ -187,7 +187,9 @@ public class JukeboxController extends RemoteController {
if (index != null && index != -1 && index != downloadService.getCurrentPlayingIndex()) {
downloadService.setPlayerState(PlayerState.COMPLETED);
downloadService.setCurrentPlaying(index, true);
- downloadService.setPlayerState(PlayerState.STARTED);
+ if(jukeboxStatus.isPlaying()) {
+ downloadService.setPlayerState(PlayerState.STARTED);
+ }
}
}