mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
Re-add IsMovie
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user