Add query parameter to disable returning first episode as next up

This commit is contained in:
crobibero
2021-01-15 15:08:48 -07:00
parent 3d754fa5bf
commit 3b9567d583
3 changed files with 16 additions and 2 deletions

View File

@@ -64,10 +64,16 @@ namespace MediaBrowser.Model.Querying
public bool EnableTotalRecordCount { get; set; }
/// <summary>
/// Gets or sets a value indicating whether do disable sending first episode as next up.
/// </summary>
public bool DisableFirstEpisode { get; set; }
public NextUpQuery()
{
EnableImageTypes = Array.Empty<ImageType>();
EnableTotalRecordCount = true;
DisableFirstEpisode = false;
}
}
}