aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-03-12 20:52:24 -0700
committerScott Jackson <daneren2005@gmail.com>2013-03-12 20:52:24 -0700
commit3cb3db540af116fcf512762d3af9ed160fcbf221 (patch)
tree1ed37f434c45c28375ad16ad7949d0e42e5d11d3
parent16fa6c8fa98146fd960abd8d2f1ae1197438672f (diff)
downloaddsub-3cb3db540af116fcf512762d3af9ed160fcbf221.tar.gz
dsub-3cb3db540af116fcf512762d3af9ed160fcbf221.tar.bz2
dsub-3cb3db540af116fcf512762d3af9ed160fcbf221.zip
With stuttering fixed, can now chain even on streamed songs
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index 93cedae0..e84cfb33 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -1013,8 +1013,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
public void onPrepared(MediaPlayer mediaPlayer) {
try {
setNextPlayerState(PREPARED);
- // TODO: Whenever the completing early issue is fixed, remove !isPartial to get gapless playback on streams as well
- if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN && playerState == PlayerState.STARTED && !isPartial) {
+ if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN && playerState == PlayerState.STARTED) {
DownloadServiceImpl.this.mediaPlayer.setNextMediaPlayer(nextMediaPlayer);
nextSetup = true;
}