mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 07:10:34 +02:00
Re-add IsMovie
This commit is contained in:
parent
f4d1e33010
commit
eba403158e
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue