diff options
| author | evan314159 <110177090+evan314159@users.noreply.github.com> | 2025-08-23 09:00:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-22 19:00:29 -0600 |
| commit | 1eadb07a128e1040335506436ef85ff724592e58 (patch) | |
| tree | 0800d64d038fbd93e0672efd5120534684d93aca /Jellyfin.Api/Controllers/LibraryController.cs | |
| parent | 26d9633fed1aeda316d709e330c8806b7ac15b98 (diff) | |
Fix GetSimilarItems to exclude the searched for item Id (#14686)
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LibraryController.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index bde1758e9..b18d7e05d 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -784,6 +784,7 @@ public class LibraryController : BaseJellyfinApiController DtoOptions = dtoOptions, EnableTotalRecordCount = !isMovie ?? true, EnableGroupByMetadataKey = isMovie ?? false, + ExcludeItemIds = [itemId] }; // ExcludeArtistIds |
