diff options
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index aa575145..df780df5 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -1308,7 +1308,7 @@ public class DownloadService extends Service { public boolean isSeekable() { if(remoteState == LOCAL) { - return currentPlaying.isWorkDone() && playerState != PREPARING; + return currentPlaying != null && currentPlaying.isWorkDone() && playerState != PREPARING; } else if(remoteController != null) { return remoteController.isSeekable(); } else { |