[PR #12120] [MERGED] Do not override <year> if <releasedate> is set #12909

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/12120
Author: @Shadowghost
Created: 6/17/2024
Status: Merged
Merged: 6/18/2024
Merged by: @crobibero

Base: release-10.9.zHead: nfo-prefer-year


📝 Commits (2)

  • 32cb4db Only set year from production date if not set
  • 1874f63 Apply review suggestion

📊 Changes

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

View changed files

📝 MediaBrowser.XbmcMetadata/Parsers/BaseNfoParser.cs (+3 -1)

📄 Description

<year> is the tag for production year. The date in <releasedate> can be different due to locale, so we should only use it if it is unset.

Changes

  • Do not override already set ProductionYear

Issues
Fixes #12111


🔄 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/12120 **Author:** [@Shadowghost](https://github.com/Shadowghost) **Created:** 6/17/2024 **Status:** ✅ Merged **Merged:** 6/18/2024 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.9.z` ← **Head:** `nfo-prefer-year` --- ### 📝 Commits (2) - [`32cb4db`](https://github.com/jellyfin/jellyfin/commit/32cb4db14ddf8dd2a684acc48fdf874ca4eec5c9) Only set year from production date if not set - [`1874f63`](https://github.com/jellyfin/jellyfin/commit/1874f63c6d3f0570592d179f618a416a309b3709) Apply review suggestion ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.XbmcMetadata/Parsers/BaseNfoParser.cs` (+3 -1) </details> ### 📄 Description `<year>` is the tag for production year. The date in `<releasedate>` can be different due to locale, so we should only use it if it is unset. **Changes** * Do not override already set `ProductionYear` **Issues** Fixes #12111 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 09:33:51 +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#12909
No description provided.