mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #16103] Add PreferOriginalReleaseDate option for music #14526
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/16103
Author: @arminius-smh
Created: 1/25/2026
Status: 🔄 Open
Base:
master← Head:music-release-date📝 Commits (1)
686a568Add PreferOriginalReleaseDate option for Music📊 Changes
2 files changed (+38 additions, -13 deletions)
View changed files
📝
MediaBrowser.Model/Configuration/LibraryOptions.cs(+4 -0)📝
MediaBrowser.Providers/MediaInfo/AudioFileProber.cs(+34 -13)📄 Description
Changes
Jellyfin right now uses only
track.Date, which is trying to mainly use the recording date for the metadata:5b19662004/ATL/Entities/MetadataHolder.cs (L130).My changes tries to get the actual original release date:
5b19662004/ATL/Entities/MetadataHolder.cs (L222)or the publishing date:
5b19662004/ATL/Entities/MetadataHolder.cs (L262)before then trying the normal date at the end againIt also sets the production year from the premierdate, since that is also done for albums but is kept as a last fallback as well.
So I believe overall no metadata should get lost, only the earlier dates filled for the production
Issues
The issue is that if releases have specific version info tagged, jellyfin tries to use that instead of the original date, its mostly a non issue for newer music, where there is the digital release and thats it, but especially for older music with different versions that may be released much later than the original release, it leads to these issues:
Before (basically random numbers of when the specific issue was released, which leads to odd sortings):

After (original release dates):

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.