aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
+ }
}
}