Fix GetSimilarItems to exclude the searched for item Id (#14686)

This commit is contained in:
evan314159 2025-08-23 09:00:29 +08:00 committed by GitHub
parent 26d9633fed
commit 1eadb07a12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -784,6 +784,7 @@ public class LibraryController : BaseJellyfinApiController
DtoOptions = dtoOptions,
EnableTotalRecordCount = !isMovie ?? true,
EnableGroupByMetadataKey = isMovie ?? false,
ExcludeItemIds = [itemId]
};
// ExcludeArtistIds