From 4cdb590291086ee623ab8ed945f9707ade94777a Mon Sep 17 00:00:00 2001 From: Jonas Resch Date: Wed, 8 Dec 2021 10:18:09 +0100 Subject: [PATCH] Exclude .strm files when searching for external audio files --- MediaBrowser.Providers/MediaInfo/AudioResolver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Providers/MediaInfo/AudioResolver.cs b/MediaBrowser.Providers/MediaInfo/AudioResolver.cs index bec8ee34a6..b68b4c248c 100644 --- a/MediaBrowser.Providers/MediaInfo/AudioResolver.cs +++ b/MediaBrowser.Providers/MediaInfo/AudioResolver.cs @@ -131,7 +131,7 @@ namespace MediaBrowser.Providers.MediaInfo for (int i = 0; i < files.Count; i++) { string file = files[i]; - if (string.Equals(video.Path, file, StringComparison.OrdinalIgnoreCase) || !AudioFileParser.IsAudioFile(file, _namingOptions)) + if (string.Equals(video.Path, file, StringComparison.OrdinalIgnoreCase) || !AudioFileParser.IsAudioFile(file, _namingOptions) || Path.GetExtension(file).Equals(".strm", StringComparison.OrdinalIgnoreCase)) { continue; }