aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-01-18 21:33:35 -0800
committerScott Jackson <daneren2005@gmail.com>2013-01-18 21:33:35 -0800
commit000624b796755a2edf18f66101c0bef0aa6fba4e (patch)
treeff980bdc62a560ddce946be6dd9030e24e054067 /subsonic-android
parent8df5cf2a2bc4fae340c13973c8bdef84cb6b88ae (diff)
downloaddsub-000624b796755a2edf18f66101c0bef0aa6fba4e.tar.gz
dsub-000624b796755a2edf18f66101c0bef0aa6fba4e.tar.bz2
dsub-000624b796755a2edf18f66101c0bef0aa6fba4e.zip
Fix playback buffer not always starting when done
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index c0dc924b..68aa228f 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -1145,7 +1145,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
}
private boolean bufferComplete() {
- boolean completeFileAvailable = downloadFile.isCompleteFileAvailable();
+ boolean completeFileAvailable = downloadFile.isWorkDone();
long size = partialFile.length();
Log.i(TAG, "Buffering " + partialFile + " (" + size + "/" + expectedFileSize + ", " + completeFileAvailable + ")");