diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-12-24 01:59:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-24 01:59:25 +0000 |
| commit | 076a13abeb344f7a79d81cce030799c8e77dbfaf (patch) | |
| tree | 4a8ca89b77a636e37dc6e6396118fa074f9a2f90 /Emby.Server.Implementations/Library/Resolvers/Books | |
| parent | 259bc231d6a42171fb13db77a7694bf4a83d3478 (diff) | |
| parent | b880dc8a4a2d1820c6063f441edce42ab399d79e (diff) | |
Merge pull request #7029 from cvium/allocations_maybe
Diffstat (limited to 'Emby.Server.Implementations/Library/Resolvers/Books')
| -rw-r--r-- | Emby.Server.Implementations/Library/Resolvers/Books/BookResolver.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/Resolvers/Books/BookResolver.cs b/Emby.Server.Implementations/Library/Resolvers/Books/BookResolver.cs index e685c87f1..8f224f547 100644 --- a/Emby.Server.Implementations/Library/Resolvers/Books/BookResolver.cs +++ b/Emby.Server.Implementations/Library/Resolvers/Books/BookResolver.cs @@ -5,6 +5,7 @@ using System; using System.IO; using System.Linq; +using Jellyfin.Extensions; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Library; using MediaBrowser.Model.Entities; @@ -32,7 +33,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.Books var extension = Path.GetExtension(args.Path); - if (extension != null && _validExtensions.Contains(extension, StringComparer.OrdinalIgnoreCase)) + if (extension != null && _validExtensions.Contains(extension, StringComparison.OrdinalIgnoreCase)) { // It's a book return new Book |
