diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-11-06 09:36:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-06 09:36:52 +0100 |
| commit | deb2c9c59297003e9fa3372c9fdecee4f1beb1bf (patch) | |
| tree | b5d86856b3a90806de75df305d6d4a1f19fae247 /MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs | |
| parent | de93ba4f545c278fbc81ec9c69e9d4f7814b01bc (diff) | |
| parent | a92a574be09dc415198ed7e5775ffd9ef2b44a58 (diff) | |
Merge pull request #17642 from mysticalsoap/fix-premiere-date-from-container-encode-date
Keep container creation time out of the premiere date chain
Diffstat (limited to 'MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs')
| -rw-r--r-- | MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs index c9d618c84a..6cf4d22581 100644 --- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs +++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs @@ -170,8 +170,10 @@ namespace MediaBrowser.MediaEncoding.Probing FFProbeHelpers.GetDictionaryDateTime(tags, "retail date") ?? FFProbeHelpers.GetDictionaryDateTime(tags, "retail_date") ?? FFProbeHelpers.GetDictionaryDateTime(tags, "date_released") ?? - FFProbeHelpers.GetDictionaryDateTime(tags, "date") ?? - FFProbeHelpers.GetDictionaryDateTime(tags, "creation_time"); + FFProbeHelpers.GetDictionaryDateTime(tags, "date"); + + // creation_time is when the file was written, not a release date + info.ContainerCreationDate = FFProbeHelpers.GetDictionaryDateTime(tags, "creation_time"); // Set common metadata for music (audio) and music videos (video) info.Album = tags.GetValueOrDefault("album"); |
