Merge pull request #2397 from softworkz/SyncFix

Graciously handle transfer status reporting for SyncJobItems
pull/1154/head
Luke 8 years ago committed by GitHub
commit e1da9c18a6

@ -560,6 +560,12 @@ namespace Emby.Server.Implementations.Sync
{
var jobItem = _repo.GetJobItem(id);
if (jobItem == null)
{
_logger.Debug("ReportSyncJobItemTransferred: SyncJobItem {0} doesn't exist anymore", id);
return;
}
jobItem.Status = SyncJobItemStatus.Synced;
jobItem.Progress = 100;

Loading…
Cancel
Save