aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-08-26 16:00:26 -0700
committerScott Jackson <daneren2005@gmail.com>2014-08-26 16:00:26 -0700
commit45d5ccfdb68d61ec56919a1e19c9816127726948 (patch)
treef35a7c042f03f77e8b508ec1f0357890c560967b
parentc77a5900ad59580ff5cea498e64dc9cec0f7071d (diff)
downloaddsub-45d5ccfdb68d61ec56919a1e19c9816127726948.tar.gz
dsub-45d5ccfdb68d61ec56919a1e19c9816127726948.tar.bz2
dsub-45d5ccfdb68d61ec56919a1e19c9816127726948.zip
#387 Only run sync for servers with it enabled
-rw-r--r--src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java2
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);