Kavita: Add pdf support (#14513)
* Added pdf support * Changelog and bump
This commit is contained in:
parent
92eeb64539
commit
420b9930a0
|
@ -1,5 +1,11 @@
|
||||||
## 1.3.8
|
## 1.3.8
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* Added pdf support
|
||||||
|
|
||||||
|
## 1.3.8
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
||||||
* Fixed `Expected URL scheme 'http' or 'https` when downloading
|
* Fixed `Expected URL scheme 'http' or 'https` when downloading
|
||||||
|
|
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'Kavita'
|
extName = 'Kavita'
|
||||||
pkgNameSuffix = 'all.kavita'
|
pkgNameSuffix = 'all.kavita'
|
||||||
extClass = '.KavitaFactory'
|
extClass = '.KavitaFactory'
|
||||||
extVersionCode = 8
|
extVersionCode = 9
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -502,7 +502,7 @@ class Kavita(private val suffix: String = "") : ConfigurableSource, UnmeteredSou
|
||||||
pages.add(
|
pages.add(
|
||||||
Page(
|
Page(
|
||||||
index = i,
|
index = i,
|
||||||
imageUrl = "$apiUrl/Reader/image?chapterId=$chapterId&page=$i"
|
imageUrl = "$apiUrl/Reader/image?chapterId=$chapterId&page=$i&extractPdf=true"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -708,6 +708,7 @@ class Kavita(private val suffix: String = "") : ConfigurableSource, UnmeteredSou
|
||||||
listOf(
|
listOf(
|
||||||
"Image",
|
"Image",
|
||||||
"Archive",
|
"Archive",
|
||||||
|
"Pdf",
|
||||||
"Unknown",
|
"Unknown",
|
||||||
).map { FormatFilter(it) }
|
).map { FormatFilter(it) }
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue