mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #13536] [MERGED] Fix IsInMixedFolder not being set for Extras #13618
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?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/13536
Author: @tkloy24
Created: 2/11/2025
Status: ✅ Merged
Merged: 4/26/2025
Merged by: @Bond-009
Base:
master← Head:13250-Extras-Delete-Whole-Folder📝 Commits (2)
b108a8cFix IsInMixedFolder not being set for Extras in mixed subfolders7717d2eAvoid multiple enumerations📊 Changes
1 file changed (+9 additions, -4 deletions)
View changed files
📝
Emby.Server.Implementations/Library/LibraryManager.cs(+9 -4)📄 Description
Changes
Changed FindExtras() and GetExtra() to identify if there are more than one file in the directory. If this is the case, the files will receive "IsInMixedFolder=true" to avoid issues for subsequent steps like deleting a single Extra.
Issues
#13250
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.