diff options
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index 999e825d..d5664d25 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -630,6 +630,7 @@ public class DownloadService extends Service { nextPlayerState = IDLE; return; } + setNextPlayerState(IDLE); int index = getNextPlayingIndex(); @@ -644,7 +645,6 @@ public class DownloadService extends Service { nextPlayingTask.start(); } else { nextPlaying = null; - setNextPlayerState(IDLE); } } @@ -1677,7 +1677,6 @@ public class DownloadService extends Service { private final File partialFile; public CheckCompletionTask(DownloadFile downloadFile) { - setNextPlayerState(PlayerState.IDLE); this.downloadFile = downloadFile; if(downloadFile != null) { partialFile = downloadFile.getPartialFile(); |