|
@@ -732,6 +732,9 @@ namespace Jellyfin.Api.Controllers
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
|
|
+ // For non series and movie types these columns are typically null
|
|
|
|
+ isSeries = null;
|
|
|
|
+ isMovie = null;
|
|
includeItemTypes.Add(item.GetType().Name);
|
|
includeItemTypes.Add(item.GetType().Name);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -739,6 +742,7 @@ namespace Jellyfin.Api.Controllers
|
|
{
|
|
{
|
|
Limit = limit,
|
|
Limit = limit,
|
|
IncludeItemTypes = includeItemTypes.ToArray(),
|
|
IncludeItemTypes = includeItemTypes.ToArray(),
|
|
|
|
+ IsMovie = isMovie,
|
|
SimilarTo = item,
|
|
SimilarTo = item,
|
|
DtoOptions = dtoOptions,
|
|
DtoOptions = dtoOptions,
|
|
EnableTotalRecordCount = !isMovie ?? true,
|
|
EnableTotalRecordCount = !isMovie ?? true,
|