mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[PR #14724] [MERGED] Skip non-media folders in movie resolver #13904
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#13904
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/14724
Author: @theguymadmax
Created: 8/31/2025
Status: ✅ Merged
Merged: 9/7/2025
Merged by: @Bond-009
Base:
master← Head:movie-directory-filtering📝 Commits (2)
792b9a6Skip non-media folders in movie resolvera19641bIgnorepatterns first📊 Changes
3 files changed (+12 additions, -5 deletions)
View changed files
📝
Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs(+5 -5)📝
Emby.Server.Implementations/Library/IgnorePatterns.cs(+2 -0)📝
Emby.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs(+5 -0)📄 Description
Changes
CoreResolutionIgnoreRule:
The addition of
parent?.IsTopParentcheck in #14540 broadened the scope of the top-level folder exception, causing hidden folders and other IgnorePatterns matches to bypass filtering. This PR reorders the checks to evaluate IgnorePatterns first.MovieResolver:
AllExtrasTypesFolderNamescheck to ensure extra folders are not processed as a multiDiscFoldersIgnorePatterns:
Subsfolder as an ignore directoryIssues
Fixes #14646 (Regression)
Fixes hidden folders being scanned into libraries. (Regression)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.