Fix warnings

This commit is contained in:
Bond_009
2020-07-20 11:01:37 +02:00
parent 0b73f3d646
commit 7324b44c43
8 changed files with 146 additions and 161 deletions

View File

@@ -77,7 +77,7 @@ namespace Emby.Server.Implementations.Library
if (parent != null)
{
// Don't resolve these into audio files
if (string.Equals(Path.GetFileNameWithoutExtension(filename), BaseItem.ThemeSongFilename)
if (string.Equals(Path.GetFileNameWithoutExtension(filename), BaseItem.ThemeSongFilename, StringComparison.Ordinal)
&& _libraryManager.IsAudioFile(filename))
{
return true;