#2407: Prefer MP4-Metadata for episodes

This commit is contained in:
Ulrich Wagner
2020-02-17 14:56:31 +01:00
parent 3bc0ce070d
commit d7f199bb1c
4 changed files with 30 additions and 0 deletions

View File

@@ -112,6 +112,9 @@ namespace MediaBrowser.MediaEncoding.Probing
info.Name = title;
}
info.IndexNumber = FFProbeHelpers.GetDictionaryNumericValue(tags, "episode_sort");
info.ParentIndexNumber = FFProbeHelpers.GetDictionaryNumericValue(tags, "season_number");
info.ShowName = FFProbeHelpers.GetDictionaryValue(tags, "show_name");
info.ProductionYear = FFProbeHelpers.GetDictionaryNumericValue(tags, "date");
// Several different forms of retaildate