diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-08-26 19:26:03 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-08-26 19:26:03 -0700 |
commit | bc294b82a928a7083a793e74eee2456159311b49 (patch) | |
tree | 066778b14dcb6f372e5061baadfa3788838af521 /src | |
parent | 037b71baa58e30093aa9d021bcf9fc16f23c4008 (diff) | |
download | dsub-bc294b82a928a7083a793e74eee2456159311b49.tar.gz dsub-bc294b82a928a7083a793e74eee2456159311b49.tar.bz2 dsub-bc294b82a928a7083a793e74eee2456159311b49.zip |
Add log for skipped sync
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/sync/SubsonicSyncAdapter.java | 4 |
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); |