mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #6262] [MERGED] Prefer original date when getting premiere date from ffprobe #10883
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/6262
Author: @heyhippari
Created: 7/5/2021
Status: ✅ Merged
Merged: 8/11/2021
Merged by: @cvium
Base:
master← Head:scanner-prefer-original-date📝 Commits (5)
534e088Prefer original data when getting premiere date from ffprobeba609aeAttempt to parse YYYY format dates in GetDictionaryDateTime924dfe1Add test for year-only parsing for FFProbe6c2cbafUpdate MediaBrowser.MediaEncoding/Probing/FFProbeHelpers.cs8d5b870Update tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs📊 Changes
4 files changed (+170 additions, -1 deletions)
View changed files
📝
MediaBrowser.MediaEncoding/Probing/FFProbeHelpers.cs(+2 -1)📝
MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs(+1 -0)📝
tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs(+20 -0)➕
tests/Jellyfin.MediaEncoding.Tests/Test Data/Probing/music_year_only_metadata.json(+147 -0)📄 Description
Changes
This makes Jellyfin play a bit nicer with music tagging software like Beets and MusicBrainz Picard, by making the scanner prefer the "ORIGINALDATE" tag over the other date tags in the files.
This allows users to keep proper release information in their metadata, yet have the albums properly sorted by their actual premiere date everywhere.
Ideally, at some point, we'll support multiple versions for music albums, in order to show the information specific to the release.
Screenshots
Before



After
FFProbe Logs
Issues
Haven't found any from a quick search.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.