New: Support kepub (as epub)

pull/965/head
ta264 4 years ago
parent 399ee8d2e7
commit fea34add4b

@ -68,6 +68,7 @@ namespace NzbDrone.Core.MediaFiles
case ".pdf": case ".pdf":
return ReadPdf(file.FullName); return ReadPdf(file.FullName);
case ".epub": case ".epub":
case ".kepub":
return ReadEpub(file.FullName); return ReadEpub(file.FullName);
case ".azw3": case ".azw3":
case ".mobi": case ".mobi":

@ -15,6 +15,7 @@ namespace NzbDrone.Core.MediaFiles
_textExtensions = new Dictionary<string, Quality>(StringComparer.OrdinalIgnoreCase) _textExtensions = new Dictionary<string, Quality>(StringComparer.OrdinalIgnoreCase)
{ {
{ ".epub", Quality.EPUB }, { ".epub", Quality.EPUB },
{ ".kepub", Quality.EPUB },
{ ".mobi", Quality.MOBI }, { ".mobi", Quality.MOBI },
{ ".azw3", Quality.AZW3 }, { ".azw3", Quality.AZW3 },
{ ".pdf", Quality.PDF }, { ".pdf", Quality.PDF },

Loading…
Cancel
Save