add(metadata): hardcover and google books as ebook providers
This commit is contained in:
+7
-2
@@ -3,7 +3,12 @@ const $$ = (sel) => document.querySelectorAll(sel);
|
||||
|
||||
let libraries = [];
|
||||
const LANGUAGE_NAMES = { german: "Deutsch", english: "Englisch" };
|
||||
const SOURCE_NAMES = { musicbrainz: "MusicBrainz" };
|
||||
const SOURCE_NAMES = {
|
||||
musicbrainz: "MusicBrainz",
|
||||
hardcover: "Hardcover",
|
||||
googlebooks: "Google Books",
|
||||
openlibrary: "Open Library",
|
||||
};
|
||||
|
||||
async function api(path, opts = {}) {
|
||||
const resp = await fetch(path, {
|
||||
@@ -188,7 +193,7 @@ $("#lib-form").addEventListener("submit", async (e) => {
|
||||
|
||||
// ---- search & request ----
|
||||
const EMPTY_HINTS = {
|
||||
ebook: "Keine Treffer. Tipp: ISBN ohne Bindestriche oder Titel + Autor versuchen.",
|
||||
ebook: "Keine Treffer. Tipp: ISBN ohne Bindestriche oder Titel + Autor versuchen — und ggf. „Alle Sprachen“ wählen.",
|
||||
audiobook: "Keine Treffer. Tipp: EAN/ISBN funktioniert bei Audible nicht — nach Titel/Autor suchen.",
|
||||
comic: "Keine Treffer bei AniList (Manga). Westliche Comics per „Manuell anlegen“ erfassen.",
|
||||
};
|
||||
|
||||
+2
-2
@@ -30,7 +30,7 @@
|
||||
<option value="audiobook">Audiobook</option>
|
||||
<option value="comic">Comic/Manga</option>
|
||||
</select>
|
||||
<select id="search-language" title="Nur Audiobooks: Sprache der Ausgabe">
|
||||
<select id="search-language" title="Sprache der Ausgabe — filtert Ebook- und Audiobook-Suche">
|
||||
<option value="">Alle Sprachen</option>
|
||||
<option value="german">Deutsch</option>
|
||||
<option value="english">Englisch</option>
|
||||
@@ -329,7 +329,7 @@
|
||||
name="file_template"
|
||||
placeholder="Datei-Schema (optional)"
|
||||
class="wide" />
|
||||
<select name="language" title="Sprache der Ausgaben in dieser Library — filtert die Audible-Suche">
|
||||
<select name="language" title="Sprache der Ausgaben in dieser Library — filtert die Metadaten-Suche">
|
||||
<option value="">Sprache: egal</option>
|
||||
<option value="german">Deutsch</option>
|
||||
<option value="english">Englisch</option>
|
||||
|
||||
Reference in New Issue
Block a user