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

Closed
opened 2026-02-07 07:16:14 +03:00 by OVERLORD · 0 comments
Owner

📋 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: 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/11/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>
OVERLORD added the pull-request label 2026-02-07 07:16:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13618