Update MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
6f25291931
commit
669029595b
|
@ -100,7 +100,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
|
||||
foreach (var pathInfo in pathInfos)
|
||||
{
|
||||
if (!pathInfo.Path.EndsWith(".strm"))
|
||||
if (!pathInfo.Path.AsSpan().EndsWith(".strm", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
var mediaInfo = await GetMediaInfo(pathInfo.Path, _type, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user