feat(sidecar): add sidecar JSON metadata file support (#2657)

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2026-02-08 09:31:18 -07:00
committed by GitHub
co-authored by acx10
parent c1c72ea7ba
commit e462b6c197
62 changed files with 2177 additions and 146 deletions
@@ -1,6 +1,8 @@
import {SortOption} from './sort.model';
import {BookType} from './book.model';
export type MetadataSource = 'EMBEDDED' | 'SIDECAR' | 'PREFER_SIDECAR' | 'PREFER_EMBEDDED' | 'NONE';
export interface Library {
id?: number;
name: string;
@@ -12,6 +14,7 @@ export interface Library {
paths: LibraryPath[];
formatPriority?: BookType[];
allowedFormats?: BookType[];
metadataSource?: MetadataSource;
}
export interface LibraryPath {