mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
Add query parameter to disable returning first episode as next up
This commit is contained in:
@@ -153,6 +153,11 @@ namespace Emby.Server.Implementations.TV
|
||||
return allNextUp
|
||||
.Where(i =>
|
||||
{
|
||||
if (request.DisableFirstEpisode)
|
||||
{
|
||||
return i.Item1 != DateTime.MinValue;
|
||||
}
|
||||
|
||||
if (alwaysEnableFirstEpisode || i.Item1 != DateTime.MinValue)
|
||||
{
|
||||
anyFound = true;
|
||||
|
||||
Reference in New Issue
Block a user