aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxr1998 <max.rumpf1998@gmail.com>2021-04-04 15:08:08 +0200
committerMaxr1998 <max.rumpf1998@gmail.com>2021-04-04 15:41:01 +0200
commit873ad72c1893e87d1f8a0a744ebfe53b87781521 (patch)
tree1c777aab91290fca18e912fd469e87d513903910
parent8d27e10cb696fb440ec7773aae69441d0651e64a (diff)
Support MKV DATE_RELEASED tag for PremiereDate
https://www.matroska.org/technical/tagging.html#temporal-information
-rw-r--r--MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
index 75067315f..a87104cd6 100644
--- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
+++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
@@ -131,6 +131,7 @@ namespace MediaBrowser.MediaEncoding.Probing
info.PremiereDate = FFProbeHelpers.GetDictionaryDateTime(tags, "retaildate") ??
FFProbeHelpers.GetDictionaryDateTime(tags, "retail date") ??
FFProbeHelpers.GetDictionaryDateTime(tags, "retail_date") ??
+ FFProbeHelpers.GetDictionaryDateTime(tags, "date_released") ??
FFProbeHelpers.GetDictionaryDateTime(tags, "date");
if (isAudio)