aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/Resolvers/Books
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-12-24 01:59:25 +0000
committerGitHub <noreply@github.com>2021-12-24 01:59:25 +0000
commit076a13abeb344f7a79d81cce030799c8e77dbfaf (patch)
tree4a8ca89b77a636e37dc6e6396118fa074f9a2f90 /Emby.Server.Implementations/Library/Resolvers/Books
parent259bc231d6a42171fb13db77a7694bf4a83d3478 (diff)
parentb880dc8a4a2d1820c6063f441edce42ab399d79e (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.cs3
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