Docs › Your library
Adding books
Books reach Omnibus in two ways: files you put in the library folders, which Omnibus finds on its next scan, and files you upload from the web app or a phone. Either way, Omnibus reads the details from inside the file and leaves the file itself as it is.
- Upload works on
- Web
- iPhone
- Android
Putting files in the library folders
Omnibus reads from two folders: one for ebooks and one for audiobooks. An admin sets them under Administration › Sources (see Library sources), or with EBOOK_LIBRARY_PATH and AUDIOBOOK_LIBRARY_PATH in a Docker install. Copy a book anywhere inside the right folder and it joins the library at the next scan.
| Folder | What it picks up |
|---|---|
| Ebook library | EPUB, PDF and CBZ files, in any subfolder. |
| Audiobook library | M4B, M4A and MP3 files. A single M4B or M4A is one book. A folder of MP3 files is one book, so give each MP3 audiobook a folder of its own. |
Any layout works, including a Calibre library's Author/Title folders, and nothing is moved or renamed. Other formats, such as MOBI and AZW3, are skipped: convert them to EPUB first, with Calibre for example. Supported formats has the details.
When Omnibus notices new files
Omnibus doesn't watch the folders continuously. A new file shows up the next time one of these happens:
- The server starts, and the last scan was more than an hour ago.
- An admin saves the library settings under Administration › Sources, which rescans the ebook folder.
- The Automatic rescan interval (hours) comes round. It's set under Administration › Sources; leave it blank to rescan only when asked.
- An admin chooses Scan library under Administration › Maintenance, which looks through both folders at once (see Maintenance and tasks).
Moving, renaming and removing files
- Moving or renaming a file inside a library folder keeps the book. Omnibus recognises it at its new path by its size and date, or failing that by its title and author, and everyone's progress, highlights and reviews stay with it.
- Removing a file doesn't remove the book. It stays in the library without that file, with everyone's reading data intact, and the file reattaches if it comes back. To remove a book for good, an admin deletes it in the app: see Deleting a book.
- If one scan would find more than a fifth of a library missing at once, Omnibus treats it as a folder that failed to mount and keeps the library as it was.
Uploading in the web app
Uploading copies a file from your computer into the library folder for you. It needs the Upload books permission, which an admin gives under Administration › People (admins have it already). Without it, the Add menu has no upload item.
Click Add in the top bar and choose Upload book files.
-
Drop a file on Drop a book here, or click Choose files. The file's extension decides what kind of book it is:
- Ebook: one EPUB or PDF at a time.
- Audiobook: one M4B, M4A or MP4 file.
- Audiobook in parts: every MP3 of one book, chosen together.
Omnibus reads the file and opens a review of what it found, with the same Details, Artwork and Identifiers tabs and Fetch metadata button as the metadata editor (see Editing metadata). Check the title and author, which are required, and fix anything that's wrong. Audiobooks often arrive with only a title and author, or neither, and the Series fields here are the easiest place to give one its series. When the file names several authors, the first is in the Author field and the rest are listed beneath it.
Click Add to library. The button shows how much has gone up.
When it's done, choose View book, or Add another book to start again.
Nothing is added until you click Add to library. If you close the review or pick another file after changing something, Omnibus asks Discard this book? Nothing has been added yet. first.
Where an uploaded file goes
Omnibus saves the upload in the ebook or audiobook folder, in a folder named from the author and title you confirmed, lowercased and joined with hyphens:
ursula-k-le-guin/the-dispossessed/the-dispossessed.epub
MP3 parts go into one folder together, and an MP4 audiobook is saved as .m4b. If the folder is already taken, the new one gets a number, such as the-dispossessed (2). The file itself is saved exactly as you uploaded it: the changes you made in the review are stored in the Omnibus database, like any later metadata edit.
Limits and refusals
- Size
- There is no size limit unless the admin sets
OMNIBUS_MAX_UPLOAD_BYTES(in bytes). A file over it is refused with That file is larger than this server accepts. A reverse proxy in front of Omnibus can have a limit of its own; see HTTPS and reverse proxies. - Read-only library folders
- Uploading writes a new file into the library folder, so it fails on a read-only mount with a message asking for a read-write one. Everything else works; see What lives where.
- No library folder set
- An ebook upload needs an ebook folder and an audiobook upload an audiobook folder. Without one, the upload is refused and asks an admin to set the path.
- Formats it can't take
- A file of another type is refused before it's sent. A damaged file, an MP4 that carries video, or a mix of an EPUB and audio files is refused with the reason.
- A stalled connection
- If the upload stops sending data for 30 seconds, Omnibus gives up on it and nothing is added. Try again on a steadier connection.
From iPhone or Android
- iPhone: tap the add button at the top of the Library tab, or Add books on the You tab, then Upload a file. Pick an EPUB, PDF or audiobook from the phone or iCloud Drive, review the details and add it. Uploading needs a connection. See iPhone and iPad app.
- Android: open Add books and choose Upload a file. See Android app.
Both show the upload option only to someone with the Upload books permission.
What Omnibus reads from the file
Omnibus takes a book's details from inside the file, not from a Calibre metadata.opf beside it.
- EPUB: title, authors, description, publisher, publication date, language, identifiers such as the ISBN, subjects (as tags), series and the cover.
- Audiobooks: the title, the author (from the artist tag) and the embedded cover. For MP3 parts the title comes from the album tag, since each part's own title is a chapter name.
- Covers: an image beside the book, named
cover.jpg(or.jpeg,.png) or with the same name as the book, is used in place of the cover inside an EPUB. When the folder is writable, Omnibus may save the cover it takes from an EPUB as an image next to it, so later scans are quicker.
A file with no title inside it is listed under its file name. Files often carry garbled or missing details too. Fix them in the app: Editing metadata shows how, and how to fill gaps from Open Library, Google Books and Hardcover.
When the book is already in the library
Omnibus treats a book, not a file, as the unit. When a new file's title and first author match exactly one book that doesn't have that format yet, the file joins that book as another format. This is how an ebook and its audiobook become one book. The match ignores case, accents and punctuation, but not different words: Dune never matches Dune Messiah.
Omnibus doesn't guess. When two books match, or the book already has that format (a second EPUB, say), the new file becomes a separate entry. Merge the two, or delete the extra file: see Merging and deleting.