diff options
Diffstat (limited to 'app/src/main/java/github/daneren2005/dsub/service/DownloadService.java')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/service/DownloadService.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java index a9f82919..31688494 100644 --- a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java +++ b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java @@ -908,6 +908,7 @@ public class DownloadService extends Service { } private synchronized void play(int index, boolean start, int position) { int size = this.size(); + cachedPosition = 0; if (index < 0 || index >= size) { reset(); if(index >= size && size != 0) { @@ -2391,6 +2392,10 @@ public class DownloadService extends Service { } }); } + + if(playerState != STARTED) { + onSongProgress(); + } } private void onSongsChanged() { final long atRevision = revision; |