Skip to content

Fix series merging - #17417

Merged
crobibero merged 2 commits into
jellyfin:masterfrom
Shadowghost:series-merge-fixes
Jul 26, 2026
Merged

crobibero merged 2 commits into
jellyfin:masterfrom
Shadowghost:series-merge-fixes

Conversation

@Shadowghost

@Shadowghost Shadowghost commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

Changes
Series spread across multiple folders stopped merging into one tile because Series.PresentationUniqueKey embedded the set of owning libraries, so sibling folder-items diverged whenever libraries overlapped or folder order changed. This drops the library set from the key (library scoping already happens at query time) and adds a name-based fallback so series without a provider ID still group.
Additionally, Series.GetExtraOwnerIds now aggregates extras/special features from every folder-item of a merged series instead of only the grouping survivor. A migration recomputes existing series keys and re-points their seasons/episodes so the fix applies without a manual metadata rescan.

Code assistance

Claude Opus 4.8 was used to trace the presentation-key grouping path.

Issues
Fixes #16593
Fixes #17408
Fixes #904

@jellyfin-bot

Copy link
Copy Markdown
Contributor

Jellyfin API (v 12.0.0)


Result


No differences. Specifications are equivalent

@Tragen

Tragen commented Jul 23, 2026

Copy link
Copy Markdown

Affected by #17408 here — a 7-folder multi-part series where series-level extras / special features stop aggregating after the folders merge (only the "survivor" folder's extras show up). The approach in this PR looks like the right root-cause fix to me, and it should be a no-op for single-folder series. +1 for getting this in — happy to test a build against my multi-folder setup and report back if that helps.

@sonarqubecloud

Copy link
Copy Markdown

@theguymadmax theguymadmax moved this from Todo to Review in Jellyfin v12 Jul 25, 2026
@Shadowghost
Shadowghost requested a review from a team July 25, 2026 17:11
@theguymadmax theguymadmax moved this from Review to Approved in Jellyfin v12 Jul 25, 2026
@crobibero
crobibero merged commit 02d8e7d into jellyfin:master Jul 26, 2026
19 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in Jellyfin v12 Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

7 participants