From f4d1e33010d1b3577fbec19ad9c8b70950ce33dd Mon Sep 17 00:00:00 2001 From: David Date: Sun, 20 Dec 2020 15:35:10 +0100 Subject: [PATCH] Fix similar items endpoint for movies and TV --- Jellyfin.Api/Controllers/LibraryController.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index c1538a431..0b90eeea7 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -732,9 +732,6 @@ namespace Jellyfin.Api.Controllers } else { - // For non series and movie types these columns are typically null - isSeries = null; - isMovie = null; includeItemTypes.Add(item.GetType().Name); } @@ -742,8 +739,6 @@ namespace Jellyfin.Api.Controllers { Limit = limit, IncludeItemTypes = includeItemTypes.ToArray(), - IsMovie = isMovie, - IsSeries = isSeries, SimilarTo = item, DtoOptions = dtoOptions, EnableTotalRecordCount = !isMovie ?? true,