diff options
| author | KGT1 <kilian.gamn@gmx.de> | 2026-05-03 22:35:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-03 22:35:57 +0200 |
| commit | 4464b2e2ed9d8cc3f4c520ee76dfedac3557cf0d (patch) | |
| tree | 4fdf6dc5fff74c21b3b2cd74c1d3d5fd695b0638 /MediaBrowser.Controller/Library/IUserDataManager.cs | |
| parent | 950c6525d1ab456115c4ee80b8fed86c5a81eaf5 (diff) | |
| parent | 622947e37425f3620432995cde5d4a0809d91694 (diff) | |
Merge branch 'jellyfin:master' into removeGenericConfigurationEndpoint
Diffstat (limited to 'MediaBrowser.Controller/Library/IUserDataManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Library/IUserDataManager.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/IUserDataManager.cs b/MediaBrowser.Controller/Library/IUserDataManager.cs index eb46611dd9..798812bf1f 100644 --- a/MediaBrowser.Controller/Library/IUserDataManager.cs +++ b/MediaBrowser.Controller/Library/IUserDataManager.cs @@ -55,6 +55,14 @@ namespace MediaBrowser.Controller.Library UserItemDataDto? GetUserDataDto(BaseItem item, User user); /// <summary> + /// Gets user data for multiple items in a single batch operation. + /// </summary> + /// <param name="items">The items to get user data for.</param> + /// <param name="user">The user.</param> + /// <returns>A dictionary mapping item IDs to their user data.</returns> + Dictionary<Guid, UserItemData> GetUserDataBatch(IReadOnlyList<BaseItem> items, User user); + + /// <summary> /// Gets the user data dto. /// </summary> /// <param name="item">Item to use.</param> |
