Forráskód Böngészése

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

evan314159 2 napja
szülő
commit
1eadb07a12
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      Jellyfin.Api/Controllers/LibraryController.cs

+ 1 - 0
Jellyfin.Api/Controllers/LibraryController.cs

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