From eba403158e1769a3a5e7e49e0e96f0af2a96d14e Mon Sep 17 00:00:00 2001 From: David Date: Sun, 20 Dec 2020 17:00:27 +0100 Subject: Re-add IsMovie --- Jellyfin.Api/Controllers/LibraryController.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Jellyfin.Api/Controllers/LibraryController.cs') diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index 0b90eeea7..deb7052aa 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -732,6 +732,9 @@ 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); } @@ -739,6 +742,7 @@ namespace Jellyfin.Api.Controllers { Limit = limit, IncludeItemTypes = includeItemTypes.ToArray(), + IsMovie = isMovie, SimilarTo = item, DtoOptions = dtoOptions, EnableTotalRecordCount = !isMovie ?? true, -- cgit v1.2.3