diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-07-24 09:40:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-24 09:40:44 +0200 |
| commit | 3ff110984a0a003ab8323482e94557d26f3fec85 (patch) | |
| tree | 8aa4f30696598c4c158bd9286a403d6017b7e612 /Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs | |
| parent | a23292f363c0bae2e9d4dbbf1359234feedd3799 (diff) | |
| parent | f5a3cc654fc8646e633489919b4a8b9e7d3c48fe (diff) | |
Merge branch 'master' into readonlyspan
Diffstat (limited to 'Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs | 2 |
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; |
