aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-08-26 19:26:03 -0700
committerScott Jackson <daneren2005@gmail.com>2014-08-26 19:26:03 -0700
commitbc294b82a928a7083a793e74eee2456159311b49 (patch)
tree066778b14dcb6f372e5061baadfa3788838af521
parent037b71baa58e30093aa9d021bcf9fc16f23c4008 (diff)
downloaddsub-bc294b82a928a7083a793e74eee2456159311b49.tar.gz
dsub-bc294b82a928a7083a793e74eee2456159311b49.tar.bz2
dsub-bc294b82a928a7083a793e74eee2456159311b49.zip
Add log for skipped sync
-rw-r--r--src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java b/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java
index 05560240..661f126d 100644
--- a/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java
+++ b/src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java
@@ -108,10 +108,12 @@ public class SubsonicSyncAdapter extends AbstractThreadedSyncAdapter {
int servers = Util.getServerCount(context);
for(int i = 1; i <= servers; i++) {
try {
- if(isValidServer(context, i) && Util.isSyncEnabled(context, instance)) {
+ if(isValidServer(context, i) && Util.isSyncEnabled(context, i)) {
tagBrowsing = Util.isTagBrowsing(context, i);
musicService.setInstance(i);
onExecuteSync(context, i);
+ } else {
+ Log.i(TAG, "Skipped sync for " + i);
}
} catch(Exception e) {
Log.e(TAG, "Failed sync for " + className + "(" + i + ")", e);