From 25ae04feb48b387abc8e709d073aa422f2aa1929 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sun, 11 Aug 2013 16:01:13 -0700 Subject: Only show as playing if status is returned of playing --- src/github/daneren2005/dsub/service/JukeboxController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/github') 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); + } } } -- cgit v1.2.3