[PR #14140] [MERGED] Ensure subfolders are processed in folders containing one video file #13856

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/14140
Author: @theguymadmax
Created: 5/20/2025
Status: Merged
Merged: 5/22/2025
Merged by: @crobibero

Base: masterHead: subfolder-fix


📝 Commits (1)

  • 38d752d Fix media detection for single video files with subfolders

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 Emby.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs (+2 -1)

📄 Description

Changes
Previously, if a folder contained a single video file along with subfolders, the subfolders were ignored during media detection. This PR adds a check to ensure subfolders are properly processed and their contents detected.

Issues
Fixes #9221


🔄 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/14140 **Author:** [@theguymadmax](https://github.com/theguymadmax) **Created:** 5/20/2025 **Status:** ✅ Merged **Merged:** 5/22/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `subfolder-fix` --- ### 📝 Commits (1) - [`38d752d`](https://github.com/jellyfin/jellyfin/commit/38d752dae7de05b9918a33b8894f526cb67b03b5) Fix media detection for single video files with subfolders ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Library/Resolvers/Movies/MovieResolver.cs` (+2 -1) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** Previously, if a folder contained a single video file along with subfolders, the subfolders were ignored during media detection. This PR adds a check to ensure subfolders are properly processed and their contents detected. **Issues** Fixes #9221 --- <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:20:15 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13856