Parcourir la source

Adding "creation_time" as a tag lookup for FFProbe for premiere date (#8884)

bradvolen il y a 2 ans
Parent
commit
f20dee8e0d
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs

+ 2 - 1
MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs

@@ -144,7 +144,8 @@ 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, "date") ??
+                FFProbeHelpers.GetDictionaryDateTime(tags, "creation_time");
 
             // Set common metadata for music (audio) and music videos (video)
             info.Album = tags.GetValueOrDefault("album");