diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-07-09 06:39:53 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-07-09 06:39:53 -0700 |
commit | c3fd9c732666e8a48fe372fbe17bf67500a8f8ae (patch) | |
tree | 530581c26d881cd137ff2063bb158e9e1664bd79 /subsonic-android/src | |
parent | a74776777857fd47ba2ea828f9e93a860c379393 (diff) | |
download | dsub-c3fd9c732666e8a48fe372fbe17bf67500a8f8ae.tar.gz dsub-c3fd9c732666e8a48fe372fbe17bf67500a8f8ae.tar.bz2 dsub-c3fd9c732666e8a48fe372fbe17bf67500a8f8ae.zip |
Fix toggling off Gapless Playback repeating same song until restart
Diffstat (limited to 'subsonic-android/src')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java index ea9233f2..e8803ad4 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java @@ -555,6 +555,8 @@ public class DownloadServiceImpl extends Service implements DownloadService { SharedPreferences prefs = Util.getPreferences(DownloadServiceImpl.this); boolean gaplessPlayback = prefs.getBoolean(Constants.PREFERENCES_KEY_GAPLESS_PLAYBACK, true); if(!gaplessPlayback) { + nextPlaying = null; + nextPlayerState = IDLE; return; } |