Update MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
whiteowl3 2022-03-23 13:18:34 -04:00 committed by GitHub
parent 6f25291931
commit 669029595b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);