feat(koreader): hide audiobook-only books from the KOReader plugin

Add a per-login setting, on by default, that leaves books whose content files are all audio out
of the plugin catalog, its counts and bulk downloads, and drops a library holding nothing else.
The plugin detail page also names the first file the device can open as the main file.

Closes #1345
This commit is contained in:
neon
2026-10-20 16:49:58 +00:00
parent a728bf293b
commit b95a285c1b
30 changed files with 25547 additions and 127 deletions
+3
View File
@@ -7,6 +7,8 @@ export interface KoreaderCredentials {
readAloudDelivery?: ReadAloudDeliveryPreference;
username: string;
syncEnabled: boolean;
/** When true the plugin catalog leaves out books whose only content files are audio. */
hideAudioOnlyBooks: boolean;
createdAt: string;
}
@@ -159,6 +161,7 @@ export interface UpdateKoreaderCredentialsPayload {
username?: string;
password?: string;
syncEnabled?: boolean;
hideAudioOnlyBooks?: boolean;
}
export interface TestKoreaderConnectionResult {