aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-03 11:24:13 -0600
committercrobibero <cody@robibe.ro>2020-08-03 11:24:13 -0600
commitf915c3e5d9af689a3ffe045c5d495900e562080b (patch)
treedee25d7d92f0f56d12e661261ac382b48f08772b /Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
parent6a42a48c09b8125e96daa057f755bc67ce7bac37 (diff)
parent5b4863c65b777d178f6573a8a584e2e9bac0d156 (diff)
Merge remote-tracking branch 'upstream/master' into api-migration
Diffstat (limited to 'Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs')
-rw-r--r--Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs b/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
index 77b2c0a69..3380e29d4 100644
--- a/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
+++ b/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
@@ -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;