[PR #16029] [MERGED] Skip hidden directories and .ignore paths in library monitoring #14498

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/16029
Author: @theguymadmax
Created: 1/15/2026
Status: Merged
Merged: 1/17/2026
Merged by: @crobibero

Base: release-10.11.zHead: fix-ignore-monitoring


📝 Commits (1)

  • 53a1904 Skip hidden directories and .ignore paths in library monitoring

📊 Changes

3 files changed (+9 additions, -2 deletions)

View changed files

📝 Emby.Server.Implementations/IO/LibraryMonitor.cs (+6 -0)
📝 Emby.Server.Implementations/Library/IgnorePatterns.cs (+1 -0)
📝 tests/Jellyfin.Server.Implementations.Tests/Library/IgnorePatternsTests.cs (+2 -2)

📄 Description

Prevents unnecessary library refreshes when files change in ignored directories.

Changes

  • Check .ignore files during file system monitoring
  • Add **/.*/** pattern to ignore contents of hidden directories

Issues
Fixes #16021


🔄 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/16029 **Author:** [@theguymadmax](https://github.com/theguymadmax) **Created:** 1/15/2026 **Status:** ✅ Merged **Merged:** 1/17/2026 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.11.z` ← **Head:** `fix-ignore-monitoring` --- ### 📝 Commits (1) - [`53a1904`](https://github.com/jellyfin/jellyfin/commit/53a1904db850cac631e9059ff7b54c4d19206cd9) Skip hidden directories and .ignore paths in library monitoring ### 📊 Changes **3 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/IO/LibraryMonitor.cs` (+6 -0) 📝 `Emby.Server.Implementations/Library/IgnorePatterns.cs` (+1 -0) 📝 `tests/Jellyfin.Server.Implementations.Tests/Library/IgnorePatternsTests.cs` (+2 -2) </details> ### 📄 Description Prevents unnecessary library refreshes when files change in ignored directories. **Changes** - Check `.ignore` files during file system monitoring - Add `**/.*/**` pattern to ignore contents of hidden directories **Issues** Fixes #16021 --- <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:30:47 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14498