diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-08-26 16:00:26 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-08-26 16:00:26 -0700 |
commit | 45d5ccfdb68d61ec56919a1e19c9816127726948 (patch) | |
tree | f35a7c042f03f77e8b508ec1f0357890c560967b /src | |
parent | c77a5900ad59580ff5cea498e64dc9cec0f7071d (diff) | |
download | dsub-45d5ccfdb68d61ec56919a1e19c9816127726948.tar.gz dsub-45d5ccfdb68d61ec56919a1e19c9816127726948.tar.bz2 dsub-45d5ccfdb68d61ec56919a1e19c9816127726948.zip |
#387 Only run sync for servers with it enabled
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java b/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java index d9bf0e24..05560240 100644 --- a/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java +++ b/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java @@ -108,7 +108,7 @@ public class SubsonicSyncAdapter extends AbstractThreadedSyncAdapter { int servers = Util.getServerCount(context); for(int i = 1; i <= servers; i++) { try { - if(isValidServer(context, i)) { + if(isValidServer(context, i) && Util.isSyncEnabled(context, instance)) { tagBrowsing = Util.isTagBrowsing(context, i); musicService.setInstance(i); onExecuteSync(context, i); |