Fix some warnings

This commit is contained in:
Bond_009
2021-11-16 16:31:57 +01:00
parent bddded96ff
commit 257e1be95f
16 changed files with 34 additions and 46 deletions

View File

@@ -191,7 +191,7 @@ namespace MediaBrowser.Model.Net
// Catch-all for all video types that don't require specific mime types
if (_videoFileExtensions.Contains(ext))
{
return "video/" + ext.Substring(1);
return string.Concat("video/", ext.AsSpan(1));
}
// Type text