Compute hash only when one is not computed in DB, small optimizations here and there

This commit is contained in:
Vasily
2020-05-19 14:50:14 +03:00
parent f18293bf76
commit a226a4ee03
5 changed files with 37 additions and 68 deletions

View File

@@ -195,8 +195,8 @@ namespace MediaBrowser.Controller.Library
/// Updates the item.
/// </summary>
void UpdateItems(IEnumerable<BaseItem> items, BaseItem parent, ItemUpdateType updateReason, CancellationToken cancellationToken);
void UpdateItem(BaseItem item, BaseItem parent, ItemUpdateType updateReason, CancellationToken cancellationToken);
void UpdateAll();
/// <summary>
/// Retrieves the item.