mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-06 00:36:58 +00:00
New: Support kepub (as epub)
This commit is contained in:
@@ -68,6 +68,7 @@ namespace NzbDrone.Core.MediaFiles
|
||||
case ".pdf":
|
||||
return ReadPdf(file.FullName);
|
||||
case ".epub":
|
||||
case ".kepub":
|
||||
return ReadEpub(file.FullName);
|
||||
case ".azw3":
|
||||
case ".mobi":
|
||||
|
||||
@@ -15,6 +15,7 @@ namespace NzbDrone.Core.MediaFiles
|
||||
_textExtensions = new Dictionary<string, Quality>(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
{ ".epub", Quality.EPUB },
|
||||
{ ".kepub", Quality.EPUB },
|
||||
{ ".mobi", Quality.MOBI },
|
||||
{ ".azw3", Quality.AZW3 },
|
||||
{ ".pdf", Quality.PDF },
|
||||
|
||||
Reference in New Issue
Block a user