The Free Software Media System - Server Backend & API
update embedded metadata extraction
Luke Pulverenti324c6dc8db48
diff --git a/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs b/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.csindex 6215100285..e1ab61cbbe 100644--- a/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs+++ b/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs@@ -444,7 +444,11 @@ namespace MediaBrowser.Providers.MediaInfo{if (string.IsNullOrWhiteSpace(video.Name) || string.Equals(video.Name, Path.GetFileNameWithoutExtension(video.Path), StringComparison.OrdinalIgnoreCase)){- video.Name = data.Name;+ // Don't use the embedded name for extras because it will often be the same name as the movie+ if (!video.ExtraType.HasValue && !video.IsOwnedItem)+ {+ video.Name = data.Name;+ }}}