aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Sync/SyncManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-13 01:12:02 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-13 01:12:02 -0400
commit65fb01bbe2fb95876217d2374a72b175fe235e60 (patch)
tree08764db9e11c0ac3bccece1c09fc63017887033a /MediaBrowser.Server.Implementations/Sync/SyncManager.cs
parent933fca78e65c146b3cf16eefce6410b21e18cdbe (diff)
rework server sync
Diffstat (limited to 'MediaBrowser.Server.Implementations/Sync/SyncManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Sync/SyncManager.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/MediaBrowser.Server.Implementations/Sync/SyncManager.cs b/MediaBrowser.Server.Implementations/Sync/SyncManager.cs
index dbe43c2d1..6f0310e3c 100644
--- a/MediaBrowser.Server.Implementations/Sync/SyncManager.cs
+++ b/MediaBrowser.Server.Implementations/Sync/SyncManager.cs
@@ -793,8 +793,6 @@ namespace MediaBrowser.Server.Implementations.Sync
}
else
{
- _logger.Debug("Setting status to Queued for {0} because it is no longer on the device.", jobItem.ItemId);
-
// Content is no longer on the device
if (jobItem.IsMarkedForRemoval)
{
@@ -802,6 +800,7 @@ namespace MediaBrowser.Server.Implementations.Sync
}
else
{
+ _logger.Debug("Setting status to Queued for {0} because it is no longer on the device.", jobItem.ItemId);
jobItem.Status = SyncJobItemStatus.Queued;
}
requiresSaving = true;
@@ -902,8 +901,6 @@ namespace MediaBrowser.Server.Implementations.Sync
}
else
{
- _logger.Debug("Setting status to Queued for {0} because it is no longer on the device.", jobItem.Id);
-
// Content is no longer on the device
if (jobItem.IsMarkedForRemoval)
{
@@ -911,6 +908,7 @@ namespace MediaBrowser.Server.Implementations.Sync
}
else
{
+ _logger.Debug("Setting status to Queued for {0} because it is no longer on the device.", jobItem.Id);
jobItem.Status = SyncJobItemStatus.Queued;
}
requiresSaving = true;