@ -33,6 +33,7 @@ namespace MediaBrowser.Controller.Entities
AdditionalParts = Array.Empty<string>();
LocalAlternateVersions = Array.Empty<string>();
SubtitleFiles = Array.Empty<string>();
AudioFiles = Array.Empty<string>();
LinkedAlternateVersions = Array.Empty<LinkedChild>();
}
@ -131,7 +131,7 @@ namespace MediaBrowser.Providers.MediaInfo
for (int i = 0; i < files.Count; i++)
{
string file = files[i];
if (!AudioFileParser.IsAudioFile(file, _namingOptions))
if (string.Equals(video.Path, file, StringComparison.OrdinalIgnoreCase) || !AudioFileParser.IsAudioFile(file, _namingOptions))
continue;