Skip to content

Keep folder extras with the item that owns the folder - #17524

Merged
crobibero merged 2 commits into
jellyfin:masterfrom
Shadowghost:fix-extra-discovery
Aug 5, 2026
Merged

crobibero merged 2 commits into
jellyfin:masterfrom
Shadowghost:fix-extra-discovery

Conversation

@Shadowghost

Copy link
Copy Markdown
Contributor

Special features in a season's behind the scenes folder ended up owned by an episode instead of the season, and an alternate version file that was removed and put back was never picked up again.

Changes
Alternate versions now inherit IsInMixedFolder from the version they belong to and no longer search for extras of their own, since the primary maintains them for the whole group; folder-level extras stay with the item that owns the folder rather than with whichever file happens to sit next to them.
Episode.SupportsOwnedItems now also considers the versions the scan just resolved from disk, and dropped version items are evicted from the item cache so their rows can be re-created.

Code assistance
Claude Code (Opus 5) was used to reproduce the issue and try out different approaches to fix it.

Issues
Fixes #17519

@jellyfin-bot

Copy link
Copy Markdown
Contributor

Jellyfin API (v 12.0.0)


Result


No differences. Specifications are equivalent

@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

@Shadowghost
Shadowghost requested a review from a team August 5, 2026 11:23
@Shadowghost Shadowghost moved this from Todo to Review in Jellyfin v12 Aug 5, 2026
@theguymadmax theguymadmax moved this from Review to Approved in Jellyfin v12 Aug 5, 2026
@crobibero
crobibero merged commit 07fb350 into jellyfin:master Aug 5, 2026
19 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in Jellyfin v12 Aug 5, 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

Development

Successfully merging this pull request may close these issues.

[12.0 RC4] If multiple versions of episodes of a TV show are defined, Special Features are detected inconsistently

5 participants