diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-05-16 16:11:13 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-05-16 16:14:18 +0200 |
| commit | 3655b4b09449e572826fa2f91a88f3b6dd4e63c4 (patch) | |
| tree | ae81d6182cb15f6f84a243e78f890b77ac457174 /MediaBrowser.Controller/Library | |
| parent | 1fdf58e40f7c8f58377be3716368720923d8d8c0 (diff) | |
Apply review and sonar suggestions
Diffstat (limited to 'MediaBrowser.Controller/Library')
| -rw-r--r-- | MediaBrowser.Controller/Library/IBatchLocalSimilarItemsProvider.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Library/IBatchLocalSimilarItemsProvider.cs b/MediaBrowser.Controller/Library/IBatchLocalSimilarItemsProvider.cs index fe2ce7d394..af49711606 100644 --- a/MediaBrowser.Controller/Library/IBatchLocalSimilarItemsProvider.cs +++ b/MediaBrowser.Controller/Library/IBatchLocalSimilarItemsProvider.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Threading; using System.Threading.Tasks; using MediaBrowser.Controller.Entities; @@ -16,8 +17,10 @@ public interface IBatchLocalSimilarItemsProvider : ISimilarItemsProvider /// </summary> /// <param name="sourceItems">The source items to find similar items for.</param> /// <param name="query">The query options.</param> + /// <param name="cancellationToken">The cancellation token.</param> /// <returns>Per-source-item results keyed by source item ID.</returns> Task<Dictionary<Guid, IReadOnlyList<BaseItem>>> GetBatchSimilarItemsAsync( IReadOnlyList<BaseItem> sourceItems, - SimilarItemsQuery query); + SimilarItemsQuery query, + CancellationToken cancellationToken); } |
