aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-12-09 16:16:26 -0800
committerScott Jackson <daneren2005@gmail.com>2012-12-09 16:16:26 -0800
commit880da5f0f9bded724e45c95b7393703a813a05f7 (patch)
tree3f6618612dddd3f14c62da9a60d9a3fbd8e4c299 /subsonic-android/src/github
parent0827811f26c2d94e36e7586a8f276300069f350e (diff)
downloaddsub-880da5f0f9bded724e45c95b7393703a813a05f7.tar.gz
dsub-880da5f0f9bded724e45c95b7393703a813a05f7.tar.bz2
dsub-880da5f0f9bded724e45c95b7393703a813a05f7.zip
Reset cachedPosition on start of a new song
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index 08a218ec..845ecfa5 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -746,6 +746,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
}
if(playerState == STARTED && (executorService == null || executorService.isShutdown())) {
+ cachedPosition = 0;
Runnable runnable = new Runnable() {
@Override
public void run() {