[PR #16128] Fix: Prioritize existing filename.nfo over movie.nfo when saving metadata #14535

Open
opened 2026-02-07 07:31:22 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/16128
Author: @Gladtbam
Created: 1/28/2026
Status: 🔄 Open

Base: masterHead: fix/movie-nfo-save-priority


📝 Commits (1)

  • 6da2efe Fix: Prioritize existing filename.nfo over movie.nfo when saving metadata

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 MediaBrowser.XbmcMetadata/Savers/MovieNfoSaver.cs (+5 -0)

📄 Description

Changes

Currently, saving metadata defaults to creating movie.nfo in non-mixed folders, ignoring existing file-specific NFOs. This change adds a check to prioritize the file-specific NFO (e.g., filename.nfo) if it already exists on disk. This prevents the creation of duplicate NFO files during metadata updates.

Issues

Fixes #16105


🔄 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/16128 **Author:** [@Gladtbam](https://github.com/Gladtbam) **Created:** 1/28/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix/movie-nfo-save-priority` --- ### 📝 Commits (1) - [`6da2efe`](https://github.com/jellyfin/jellyfin/commit/6da2efefc72b81d6f289df178a7d050df008f07b) Fix: Prioritize existing filename.nfo over movie.nfo when saving metadata ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.XbmcMetadata/Savers/MovieNfoSaver.cs` (+5 -0) </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** <!-- Describe your changes here in 1-5 sentences. --> Currently, saving metadata defaults to creating `movie.nfo` in non-mixed folders, ignoring existing file-specific NFOs. This change adds a check to prioritize the file-specific NFO (e.g., `filename.nfo`) if it already exists on disk. This prevents the creation of duplicate NFO files during metadata updates. **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #16105 --- <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:31:22 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14535