sync updates

This commit is contained in:
Luke Pulverenti
2014-12-16 00:01:57 -05:00
parent 7f7d2f85e3
commit 3c48def0d7
32 changed files with 298 additions and 89 deletions

View File

@@ -47,7 +47,7 @@ namespace MediaBrowser.Server.Implementations.Sync
var processor = new SyncJobProcessor(_libraryManager, _repo, this, _logger, _userManager);
var user = _userManager.GetUserById(request.UserId);
var items = processor
.GetItemsForSync(request.ItemIds, user)
.ToList();
@@ -85,7 +85,9 @@ namespace MediaBrowser.Server.Implementations.Sync
DateLastModified = DateTime.UtcNow,
SyncNewContent = request.SyncNewContent,
ItemCount = items.Count,
Quality = request.Quality
Quality = request.Quality,
Category = request.Category,
ParentId = request.ParentId
};
// It's just a static list