Merge pull request #3116 from Artiume/patch-2

Update Books Resolver File Types and add .opf Mime Type
This commit is contained in:
dkanada
2020-05-16 16:01:59 +09:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.Books
{
public class BookResolver : MediaBrowser.Controller.Resolvers.ItemResolver<Book>
{
private readonly string[] _validExtensions = { ".pdf", ".epub", ".mobi", ".cbr", ".cbz", ".azw3" };
private readonly string[] _validExtensions = { ".azw", ".azw3", ".cb7", ".cbr", ".cbt", ".cbz", ".epub", ".mobi", ".opf", ".pdf" };
protected override Book Resolve(ItemResolveArgs args)
{