Omnibus Docs

Docs › Administration

Library sources

Omnibus builds its library from two folders you already have: one of ebooks and one of audiobooks. Administration › Sources is where you tell it where they are and how often to look again. It only ever reads them.

  • Works on
  • Web
  • iPhone (paths only)

Setting the library folders

  1. In the Library folders card, type the folder of your ebooks in Ebook library path and the folder of your audiobooks in Audiobook library path. Leave one blank if you only have one kind.

  2. Choose Save library settings. The card says Library settings saved. when it's done.

Under each path, Omnibus says what it can see there, such as 212 files found. 198 .epub found. 14 .pdf found. If it reads Couldn't read this folder, the path is wrong or the server can't open it.

These are paths as the server sees them. In Docker that means inside the container: /books and /audiobooks with the compose file from Install with Docker, not the folders on your host.

The ebook folder picks up EPUB, PDF and CBZ files, and the audiobook folder M4B, M4A and MP3, in any folder layout. A Calibre library works as it is: Omnibus reads the metadata inside each file rather than Calibre's metadata.opf. See Supported formats.

Saving starts a rescan of the ebook folder straight away. Audiobooks are picked up at the next rescan; to have them now, run Scan library under Maintenance.

When Omnibus rescans

  • On a schedule, if you set one. Type a whole number of hours in Automatic rescan interval (hours) and save; the smallest is 1. Leave it blank to rescan only when you ask. It's blank until you set it.
  • When the server starts, for any library that hasn't been scanned in the last hour.
  • When you save the library settings (the ebook library).
  • When you ask, with Scan library under Maintenance, which scans both folders.

Books uploaded from the app don't need a rescan; see Adding books.

What a scan does

A scan walks the folder, compares what it finds with the library, and changes only what's different. While it runs, Administration › Maintenance shows its progress, such as Found 1204 — 3 new · 1 changed.

New files
Become books, with the title, authors, series, cover and other details read from inside the file.
Changed files
Are read again. Edits made in Omnibus stay on top; see Metadata providers for which wins.
Moved or renamed files
Are recognised when the size and modified time are unchanged, so the book keeps everyone's progress, shelves and highlights. If the size or modified time changed too, Omnibus falls back to matching on title and author.
Missing files
Don't delete the book. It stays, with every reader's progress, highlights and shelves, marked as missing its file. When the file comes back, the book picks it up again.

A scan also guards against a drive that has dropped off. If one scan would find more than a fifth of a library (and more than ten books) missing at once, it stops and changes nothing, since an unmounted drive or a permissions problem is likelier than a real mass deletion. Between a tenth and a fifth, it carries on but warns … books lost their files in this scan — check that your library path is mounted. A folder that can't be read at all, or suddenly reads completely empty, leaves the library as it was.

After an ebook scan, Omnibus runs a few follow-up jobs on its own: covers, thumbnails, page and word counts, indexing book text for search, and looking for cleanup suggestions. They're listed under Maintenance.

What a scan never does

A scan never moves, renames, rewrites or deletes a file. Changes you make in Omnibus, such as a corrected title or a new cover, are kept in its database and applied when a book is downloaded or sent to a device; the file on disk stays as it was.

Moving or removing a library

Moving to a new folder or disk
Copy the files, change the path, and save. Omnibus moves the existing library to the new path rather than starting a new one, so books keep their identity and everyone's progress, shelves and highlights, and the rescan finds their files at the new location. In Docker it's usually simpler to point the volume at the new folder and leave the path inside the container as it is.
Clearing a path
Empty the field and save. That library's books disappear from the library, but nothing is deleted: set the same path again and they come back with all their reading data.

Setting the folders with environment variables

The standard Docker setup sets EBOOK_LIBRARY_PATH and AUDIOBOOK_LIBRARY_PATH. While they're set, they overwrite both saved paths every time the server starts, so a path changed in the app lasts only until the next restart. The rescan interval is kept.

  • Set both or neither. If only one is set, the other saved path is cleared on start, and that library's books disappear until it's set again.
  • To manage the folders in the app instead, remove both lines from your compose file and restart. The paths already saved stay as they were.

Every variable is listed in the Configuration reference.

Read-only library folders

You can mount either library read-only by adding :ro to its volume line, for example /path/to/your/ebooks:/books:ro. Scanning, reading, listening, downloads, Kobo and KOReader sync and Send to Kindle all keep working, because they only read the folder. Downloaded copies that carry your edits are built in Omnibus's own cache, not in the library.

Three things write into a library folder, and fail on a read-only mount:

A scan also saves a cover image beside a book that has none, so the next scan doesn't have to open the book. On a read-only mount it skips that and reads the cover from inside the file each time.

On iPhone

An admin can change the paths from the app: You › Server settings, then the Ebooks and Audiobooks fields under Library paths, and Save. The rescan interval is on the web only.