feat: add button to fetch metadata from book file in metadata editor (#2739)

This commit is contained in:
ACX
2026-02-13 21:04:00 -07:00
committed by GitHub
parent 5076522f35
commit 77b4deb942
7 changed files with 83 additions and 3 deletions
@@ -690,6 +690,10 @@ export class BookService {
return this.http.post<void>(`${this.url}/${bookId}/regenerate-cover`, {});
}
getFileMetadata(bookId: number): Observable<BookMetadata> {
return this.http.get<BookMetadata>(`${this.url}/${bookId}/file-metadata`);
}
generateCustomCover(bookId: number): Observable<void> {
return this.http.post<void>(`${this.url}/${bookId}/generate-custom-cover`, {});
}