[PR #8662] [MERGED] fix: use a combination of ParentIndexNumber and IndexNumber to determine next up episodes #11633

Closed
opened 2025-12-22 08:51:53 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/8662
Author: @cvium
Created: 10/30/2022
Status: Merged
Merged: 10/31/2022
Merged by: @joshuaboniface

Base: release-10.8.zHead: this_next_up_fix_wont_work_either


📝 Commits (1)

  • 5ea9a74 fix: use a combination of ParentIndexNumber and IndexNumber to determine next up episodes

📊 Changes

3 files changed (+25 additions, -22 deletions)

View changed files

📝 Emby.Server.Implementations/Data/SqliteItemRepository.cs (+4 -3)
📝 Emby.Server.Implementations/TV/TVSeriesManager.cs (+12 -18)
📝 MediaBrowser.Controller/Entities/InternalItemsQuery.cs (+9 -1)

📄 Description

Changes
Using ParentIndexNumber and IndexNumber individually doesn't work when the next episode is in another season. This changes the query to look for higher episode numbers in the same season and episodes in higher seasons.

Issues
Fixes https://github.com/jellyfin/jellyfin/issues/8655


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/8662 **Author:** [@cvium](https://github.com/cvium) **Created:** 10/30/2022 **Status:** ✅ Merged **Merged:** 10/31/2022 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `release-10.8.z` ← **Head:** `this_next_up_fix_wont_work_either` --- ### 📝 Commits (1) - [`5ea9a74`](https://github.com/jellyfin/jellyfin/commit/5ea9a742893afd790fcc3948edaaf0b15612f48e) fix: use a combination of ParentIndexNumber and IndexNumber to determine next up episodes ### 📊 Changes **3 files changed** (+25 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Data/SqliteItemRepository.cs` (+4 -3) 📝 `Emby.Server.Implementations/TV/TVSeriesManager.cs` (+12 -18) 📝 `MediaBrowser.Controller/Entities/InternalItemsQuery.cs` (+9 -1) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** Using ParentIndexNumber and IndexNumber individually doesn't work when the next episode is in another season. This changes the query to look for higher episode numbers in the same season and episodes in higher seasons. **Issues** Fixes https://github.com/jellyfin/jellyfin/issues/8655 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 08:51:53 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#11633
No description provided.