mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4628] [MERGED] Prevent GetUpNext from returning episodes in progress #10200
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4628
Author: @heyhippari
Created: 12/1/2020
Status: ✅ Merged
Merged: 12/2/2020
Merged by: @cvium
Base:
master← Head:no-next-resumable📝 Commits (4)
21a67a6Prevent GetUpNext from returning episodes in progress7ba9ba4Fix typo371092cFix possible nullref673d2c0Update Emby.Server.Implementations/TV/TVSeriesManager.cs📊 Changes
1 file changed (+13 additions, -1 deletions)
View changed files
📝
Emby.Server.Implementations/TV/TVSeriesManager.cs(+13 -1)📄 Description
Changes
GetUpNext was returning episodes that are in progress, leading to this:
Its purpose should be to only return future episodes of a show that is already started, but not in progress episodes.
To achieve this, this gets the user data of the episode to be added to the list, checks if it's in progress and just returns null if it is.
Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.