Omnibus Docs

Docs › Administration

Metadata providers

A book's details come from the file itself, from edits made in Omnibus, and, when someone asks, from three online catalogues. This page covers which of those wins, which catalogues Omnibus can ask and what for, and the keys two of them use.

Source order

When the file says one thing and an edit in Omnibus says another, the Source order card under Administration › Metadata decides which one readers see. It has a list for the Ebook library and another for the Audiobook library, so each can work differently.

Each list holds five sources. Lower items win: for each field, the last source in the list that has a value for it is used.

SourceWhat it isSupplies details today
Folder structureWhere the file sits in the library.No
Embedded tagsThe metadata inside the book file: an EPUB's own title and authors, an audiobook's tags.Yes
OPF sidecarA separate .opf file beside the book.No
Manual edits (overrides)Changes made in Omnibus: in the metadata editor, by library cleanup, or as a bulk edit.Yes
Provider match (Hardcover)A match found on Hardcover.No

The default order, top to bottom, is the one above, so edits made in Omnibus win over the file.

Only Embedded tags and Manual edits (overrides) supply details today. The other three are in the list so the order is ready for them, but where they sit changes nothing yet. In practice the choice is whether Manual edits sits below Embedded tags (edits win, the default) or above it (the file wins).

Changing the order

  1. Use Up and Down beside a source to move it. Both libraries can be changed before saving.

  2. Choose Save metadata order. The card says Metadata order saved. when it's done.

The new order applies straight away. Nothing is deleted: putting the file ahead of your edits only hides them, and moving Manual edits back down brings them back. A library's order can only be saved once its folder is set under Sources.

The providers

Omnibus can ask three online catalogues about a book. The questions go from your server, and an answer never changes a book's details unless someone chooses to apply it.

ProviderKeyUsed for
Open LibraryNone needed.ISBN lookups, title searches, the metadata editor's search, summaries, author pictures, and filling in a series or first-published year another provider left out.
Google BooksOptional, but recommended.ISBN lookups, title searches, the metadata editor's search and summaries. Without a key it shares a small anonymous daily allowance with everyone else and soon starts refusing.
HardcoverRequired. Without one, Hardcover is skipped.Readers also enjoyed on book pages, the metadata editor's search, title searches, summaries, and a last try for an ISBN the others don't know. It's the one provider that gives a book's series directly.

Where readers meet them

Editing a book
The metadata editor can search every configured provider and show a matching edition's details beside the current ones, field by field. Apply copies the changes you pick into the editor, and nothing is saved until you choose Done. The result is an edit in Omnibus, which can later be reverted to the file's own values; the file isn't touched. This needs the Edit metadata permission. See Editing metadata.
Checking in a physical book
Scanning or typing an ISBN tries the providers one at a time: Open Library then Google Books, or Google Books first once it has a key, then Hardcover. If none knows the ISBN, a title search asks all of them at once. See Physical books.
Fetching a summary
A book with a missing or very short description offers to fetch one from a provider. This needs the Edit metadata permission. See Book pages.
Readers also enjoyed
The suggestions on a book page come from Hardcover. Until a Hardcover key is set, that section shows a note about connecting Hardcover instead.
Author pictures
Come from Open Library. See Maintenance and tasks to look them all up again.

API keys

Keys are set once for the whole server, under Administration › Integrations, in the Hardcover suggestions and Google Books lookup cards.

  1. Paste the key into Hardcover API key or Google Books API key and save it.

  2. The card then reads Connected, with where the key came from and a masked preview of it. Omnibus never shows the whole key again, so keep your own copy.

  3. To remove a key, choose Clear… and confirm. Clearing the Hardcover key stops Readers also enjoyed; clearing the Google Books key puts ISBN lookups back on the anonymous allowance.

Getting a Google Books key
It's free and needs no billing account. In the Google Cloud console, create a project, enable the Books API under APIs & Services › Library, then make an API key under Credentials. Restrict it to the Books API and leave application restrictions unset, since your server calls Google directly.
Getting a Hardcover key
Use the API token from your account on Hardcover.

You can also set them with the HARDCOVER_API_KEY and GOOGLE_BOOKS_API_KEY environment variables. Unlike the library paths, a key saved in the app wins: the variable is only used when no key is saved, and clearing a saved key falls back to it. Integrations covers the rest of that section, and the Configuration reference lists every variable.