mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user