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

View File

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