diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-12-03 22:37:51 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-12-03 22:37:51 -0800 |
commit | ad6592a3fac30177ab7201940b79bcf9b2f07b58 (patch) | |
tree | ca7176f251e2ed22bd5fe6a408b5ae71419ac6b2 /subsonic-android/src | |
parent | fc22b1f1427ea02edd9e8e0250e526b9c7b744ec (diff) | |
download | dsub-ad6592a3fac30177ab7201940b79bcf9b2f07b58.tar.gz dsub-ad6592a3fac30177ab7201940b79bcf9b2f07b58.tar.bz2 dsub-ad6592a3fac30177ab7201940b79bcf9b2f07b58.zip |
Fixed thrashing while playing file is still a partial
Diffstat (limited to 'subsonic-android/src')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 2 |
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 b5670bed..4f76fab4 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java @@ -929,7 +929,7 @@ public class DownloadServiceImpl extends Service implements DownloadService { } // Need to download current playing? - if (currentPlaying != null && currentPlaying != currentDownloading && !currentPlaying.isCompleteFileAvailable()) { + if (currentPlaying != null && currentPlaying != currentDownloading && !currentPlaying.isWorkDone()) { // Cancel current download, if necessary. if (currentDownloading != null) { currentDownloading.cancelDownload(); |