diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-03-14 18:50:08 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-03-14 18:50:08 -0700 |
commit | 44391bcbb50c551f75f0ea1d73d240599b46cf72 (patch) | |
tree | 89ee8eb6bd0eb489c534c15d50213a2b0809b161 /subsonic-android | |
parent | 486364133ef35fafe12854ca4968fa56d4d35a2a (diff) | |
download | dsub-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')
-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 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(); |