diff --git a/MediaBrowser.Server.Implementations/Sync/MediaSync.cs b/MediaBrowser.Server.Implementations/Sync/MediaSync.cs index 0642c00de..cff72ae58 100644 --- a/MediaBrowser.Server.Implementations/Sync/MediaSync.cs +++ b/MediaBrowser.Server.Implementations/Sync/MediaSync.cs @@ -325,12 +325,6 @@ namespace MediaBrowser.Server.Implementations.Sync { var files = localItem.AdditionalFiles.ToList(); - // TODO: Remove this. Have to check it for now since this is a new property - if (!string.IsNullOrWhiteSpace(localItem.FileId)) - { - files.Insert(0, localItem.FileId); - } - foreach (var file in files) { _logger.Debug("Removing {0} from {1}.", file, target.Name); diff --git a/MediaBrowser.Server.Implementations/Sync/SyncManager.cs b/MediaBrowser.Server.Implementations/Sync/SyncManager.cs index 7d6993d5f..c715c3f50 100644 --- a/MediaBrowser.Server.Implementations/Sync/SyncManager.cs +++ b/MediaBrowser.Server.Implementations/Sync/SyncManager.cs @@ -786,6 +786,7 @@ namespace MediaBrowser.Server.Implementations.Sync { _logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.ItemId); jobItem.Status = SyncJobItemStatus.Queued; + jobItem.Progress = 0; } requiresSaving = true; } @@ -891,6 +892,7 @@ namespace MediaBrowser.Server.Implementations.Sync { _logger.Info("Setting status to Queued for {0} because it is no longer on the device.", jobItem.Id); jobItem.Status = SyncJobItemStatus.Queued; + jobItem.Progress = 0; } requiresSaving = true; }