[PR #13536] [MERGED] Fix IsInMixedFolder not being set for Extras #13440

Closed
opened 2025-12-22 09:51:53 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/13536
Author: @tkloy24
Created: 2/10/2025
Status: Merged
Merged: 4/26/2025
Merged by: @Bond-009

Base: masterHead: 13250-Extras-Delete-Whole-Folder


📝 Commits (2)

  • b108a8c Fix IsInMixedFolder not being set for Extras in mixed subfolders
  • 7717d2e Avoid 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.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/13536 **Author:** [@tkloy24](https://github.com/tkloy24) **Created:** 2/10/2025 **Status:** ✅ Merged **Merged:** 4/26/2025 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `13250-Extras-Delete-Whole-Folder` --- ### 📝 Commits (2) - [`b108a8c`](https://github.com/jellyfin/jellyfin/commit/b108a8cfc538795c3e5a120c785fffa512e9abfa) Fix IsInMixedFolder not being set for Extras in mixed subfolders - [`7717d2e`](https://github.com/jellyfin/jellyfin/commit/7717d2e26171d9d932cba66a2813b7c0d02869e2) Avoid multiple enumerations ### 📊 Changes **1 file changed** (+9 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Library/LibraryManager.cs` (+9 -4) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 09:51:53 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#13440
No description provided.