aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
diff options
context:
space:
mode:
authormysticalsoap <github@esotericsuds.com>2026-09-15 16:31:24 -0400
committermysticalsoap <github@esotericsuds.com>2026-10-15 17:35:24 -0400
commita92a574be09dc415198ed7e5775ffd9ef2b44a58 (patch)
treea517b698ebb8b3a820576a47789565b7907f09f0 /MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
parent2416fb56b4904fcf1fbf561be0c05b37d2d0886f (diff)
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.cs6
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");