mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #9706] Fix .ignore files not being honored in extras directories
#12197
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?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/9706
State: closed
Merged: No
Changes
Added a patch to fix
.ignorefiles not working inextrasfolders. This is done by skipping the resolving of the current extra directory files, if it contains a.ignorefile.Ideally, we would make use of the ignore file check inside the
ResolvePathmethod that folders like season folders also go through. But due to some limitations, like limited access to some needed information from inside the FindExtras method, this couldn't be done easily without the need of a big refactor.Issues
Fixes #9571