Re-add IsMovie

This commit is contained in:
David 2020-12-20 17:00:27 +01:00
parent f4d1e33010
commit eba403158e

View File

@ -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,