aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-03-14 18:50:08 -0700
committerScott Jackson <daneren2005@gmail.com>2013-03-14 18:50:08 -0700
commit44391bcbb50c551f75f0ea1d73d240599b46cf72 (patch)
tree89ee8eb6bd0eb489c534c15d50213a2b0809b161 /subsonic-android/src/github
parent486364133ef35fafe12854ca4968fa56d4d35a2a (diff)
downloaddsub-44391bcbb50c551f75f0ea1d73d240599b46cf72.tar.gz
dsub-44391bcbb50c551f75f0ea1d73d240599b46cf72.tar.bz2
dsub-44391bcbb50c551f75f0ea1d73d240599b46cf72.zip
Fix buffer = 0 -> then StreamProxy shouldn't be being used
Diffstat (limited to 'subsonic-android/src/github')
-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 0e3df9c8..4e7bbbb0 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -497,7 +497,6 @@ public class DownloadServiceImpl extends Service implements DownloadService {
if (currentPlaying != null) {
Util.broadcastNewTrackInfo(this, currentPlaying.getSong());
- currentPlaying.setPlaying(true);
mRemoteControl.updateMetadata(this, currentPlaying.getSong());
} else {
Util.broadcastNewTrackInfo(this, null);
@@ -931,6 +930,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
private synchronized void doPlay(final DownloadFile downloadFile, final int position, final boolean start) {
try {
+ downloadFile.setPlaying(true);
final File file = downloadFile.isCompleteFileAvailable() ? downloadFile.getCompleteFile() : downloadFile.getPartialFile();
isPartial = file.equals(downloadFile.getPartialFile());
downloadFile.updateModificationDate();