mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Fix GetSimilarItems to exclude the searched for item Id (#14686)
This commit is contained in:
@@ -784,6 +784,7 @@ public class LibraryController : BaseJellyfinApiController
|
|||||||
DtoOptions = dtoOptions,
|
DtoOptions = dtoOptions,
|
||||||
EnableTotalRecordCount = !isMovie ?? true,
|
EnableTotalRecordCount = !isMovie ?? true,
|
||||||
EnableGroupByMetadataKey = isMovie ?? false,
|
EnableGroupByMetadataKey = isMovie ?? false,
|
||||||
|
ExcludeItemIds = [itemId]
|
||||||
};
|
};
|
||||||
|
|
||||||
// ExcludeArtistIds
|
// ExcludeArtistIds
|
||||||
|
|||||||
Reference in New Issue
Block a user