diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-05-19 19:51:52 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-05-19 19:51:52 -0700 |
commit | e05723218aa289bf2892b3f9edf999b859f18689 (patch) | |
tree | 213c3dadf38f48b096e3f795c8ef1f65817f76af /src | |
parent | c395bfbdc91fa8d2f1bfbbd14bb767a833dcad19 (diff) | |
download | dsub-e05723218aa289bf2892b3f9edf999b859f18689.tar.gz dsub-e05723218aa289bf2892b3f9edf999b859f18689.tar.bz2 dsub-e05723218aa289bf2892b3f9edf999b859f18689.zip |
Fix web commits
Diffstat (limited to 'src')
3 files changed, 4 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index e1891a6d..4fdc4dc9 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -1564,7 +1564,7 @@ public class DownloadService extends Service { setNextPlayerState(IDLE); } - protected synchronized void checkDownloads() { + public synchronized void checkDownloads() { if (!Util.isExternalStoragePresent() || !lifecycleSupport.isExternalStorageAvailable()) { return; } diff --git a/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java b/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java index c08dab2e..905277e9 100644 --- a/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java +++ b/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java @@ -109,7 +109,7 @@ public class SubsonicSyncAdapter extends AbstractThreadedSyncAdapter { for(int i = 1; i <= servers; i++) { try { if(isValidServer(context, i)) { - tagBrowsing = Util.isTagBrowsing(context, instance); + tagBrowsing = Util.isTagBrowsing(context, i); musicService.setInstance(i); onExecuteSync(context, i); } @@ -152,7 +152,7 @@ public class SubsonicSyncAdapter extends AbstractThreadedSyncAdapter { contents = musicService.getAlbum(id, name, true, context, null); } } else { - contents = musicService.getMusicDirectory(id name, true, context, null); + contents = musicService.getMusicDirectory(id, name, true, context, null); } if(downloadRecursively(paths, contents, context, save)) { diff --git a/src/github/daneren2005/dsub/util/ShufflePlayBuffer.java b/src/github/daneren2005/dsub/util/ShufflePlayBuffer.java index de1be13a..7554637c 100644 --- a/src/github/daneren2005/dsub/util/ShufflePlayBuffer.java +++ b/src/github/daneren2005/dsub/util/ShufflePlayBuffer.java @@ -29,6 +29,7 @@ import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import github.daneren2005.dsub.domain.MusicDirectory; +import github.daneren2005.dsub.service.DownloadService; import github.daneren2005.dsub.service.MusicService; import github.daneren2005.dsub.service.MusicServiceFactory; import github.daneren2005.dsub.util.FileUtil; |