diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-08-11 16:01:13 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-08-11 16:01:13 -0700 |
commit | 25ae04feb48b387abc8e709d073aa422f2aa1929 (patch) | |
tree | 2bcf9554ea88631f2775e2d9464eee36c8eb84f4 | |
parent | 6a7769ea00dcc509a2c4c199f022c9ccfaa9db9f (diff) | |
download | dsub-25ae04feb48b387abc8e709d073aa422f2aa1929.tar.gz dsub-25ae04feb48b387abc8e709d073aa422f2aa1929.tar.bz2 dsub-25ae04feb48b387abc8e709d073aa422f2aa1929.zip |
Only show as playing if status is returned of playing
-rw-r--r-- | src/github/daneren2005/dsub/service/JukeboxController.java | 4 |
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); + } } } |