Update MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/7443/head
whiteowl3 3 years ago committed by GitHub
parent 6f25291931
commit 669029595b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save