A shelf book can be requested as an ebook, an audiobook or both (one request per format), and each request is checked against its own library, source priority list and format guard. Ranking within a source prefers the most downloaded copy, then size, and one m4b is preferred to a set of chapter files unless it is much smaller than the other copies. Soulseek peers are ranked by free slot, queue length and speed. Automatic downloads refuse multi-book packs, sequels and other works named in the title, study guides, abridged or dramatised versions, two-in-one titles, releases in a language the requester didn't ask for, and an archive for an audiobook request. Matching folds accents on both sides, drops an alternate title for the search and the match, and reads small numbers the same in any form. AudiobookBay releases with no author in the listing title are judged on the authors credited on the detail page.
9.6 KiB
Hardcover Sync
Configure in Settings → Hardcover Sync.
Hardcover Sync pulls books from your Hardcover reading shelves into Shelfmark as requests, optionally downloads them without an admin picking a release, and can skip books you already own in a library you have set up under Library Check. Every part is opt-in and off by default; the tab does nothing until you enable it.
Capabilities
Shelf sync
On a schedule, Shelfmark reads the selected Hardcover shelf (by default Want to Read) through the Hardcover metadata provider and creates a pending request for each book that is not already known. Requests carry Hardcover's metadata, including the cover, and are owned by the lowest-id admin account.
A book is skipped when:
- a request with the same Hardcover book id already exists, in any status
- a download with the same title and author is already in the download history
- the library check (below) says it is already in your library
- a pending request with the same title, author, and content type already exists
Automatic downloads
When enabled, each pending request that came from Hardcover is searched across your release sources in the priority order configured for its content type (audiobook requests use the audiobook list, ebook requests the ebook list). The first source that yields a strict match wins, and the best candidate from that source is queued through the normal request fulfilment path, so it appears in the activity view and download history exactly like a request an admin approved.
A release is a strict match only when all of the following hold:
- at least 85% of the significant words in the book's title appear in the release title. Numbers from 1 to 20 count as the same word however they are written, so Part II, Part Two and Part 2 agree, while Part One never stands in for Part Two;
- the author's surname appears in the release title, indexer name or author field (a book with no author metadata matches on title alone). Some AudiobookBay listings carry no author in their title (The Mummy or Ramses the Damned). When a source turns up no strict match, the detail pages of up to three such releases that pass every other rule are read, and the author they credit (a narrator does not count) is checked like any other. A page that credits nobody, or someone else, leaves the release rejected;
- the release title doesn't name a different book that contains the requested one. A "Dune" request won't take Dune Messiah or Children of Dune, and a bare number after the title (Mistborn 2, Mistborn Two, Dune Chronicles Book II) names a sequel. A title with a number of its own (Ready Player One) takes no other number after it, 1 included. Only the parts of the release name that hold the title are judged, so narrators, uploader tags and the book's own series, author and subtitle words don't count against it; a part that is just the series name (Alex Cross 25) does not vouch for a one-word title, so a "Cross" request won't take Alex Cross: Cross Justice. Two slash-separated names that both hold the title (Dune / Dune Messiah) are two books;
- the release is not a derivative of the work: summary, analysis, study guide, workbook, abridged, dramatized, adaptation or graphic novel anywhere in the name disqualifies it, unless the requested title itself carries the word. Unabridged is a full recording and is fine;
- the release is not a multi-book pack: ranges like
1-24orBooks 1 to 17, or words like complete, collection, box set, omnibus, trilogy, megapack, + short stories, unless the requested title itself carries them. "Complete and Unabridged" describes one recording and doesn't count. The library check uses the same word list; - the format fits the request — an audiobook request needs an audiobook signal (
m4b/mp3, a release from an audiobook-only source, or "audiobook"/"unabridged" in the title) and is never an ebook-only file; an ebook request needs one of your Supported Book Formats (or an.epub-style marker in the title) and no audiobook signal; - for torrents that report a seeder count, it meets Minimum seeders — sources that report none (AudiobookBay) are not judged on seeders.
AudiobookBay requires every word of a query, and its posts for one volume of a multi-part book often spell the part differently from the request ("Part Two" for "Part II"), so a query carrying the part finds only the packs that list it. When no row a query returns carries the requested title, the source tries the next query, ending with the title minus its trailing , Part N or Volume N. The strict match above still decides which part was found.
Among matching releases from the winning source, format ranks first (m4b over mp3 for audiobooks; epub over azw3 over mobi for ebooks), then the copy other people chose — more downloads (direct-download sources report them), then more seeders — then larger size. If no source produces a confident match the request stays pending for manual review; nothing is guessed.
Library check
Both shelf sync and automatic downloads ask the libraries you have enabled under Library Check whether the book is already there, for the content type being requested, and skip it if so. There is no separate switch on this tab. A library that is not enabled, or that does not hold the requested content type, never causes a skip.
The check fails closed here: if an enabled library cannot be read and has not been read before, the sync cycle is skipped and an automatic download is held, and the request stays pending until the next cycle. Skipping is the safe side, because carrying on would request or download books the library already holds. Badges in search results still fail open.
Settings
| Key | Label | Default | Notes |
|---|---|---|---|
HARDCOVER_SYNC_ENABLED |
Enable scheduled sync | Off | Runs shelf sync on the interval below |
HARDCOVER_SYNC_TOKEN |
Hardcover API Token | — | Leave blank to reuse the Hardcover metadata provider's token |
HARDCOVER_SYNC_STATUSES |
Shelves to sync | Want to Read | Hardcover reading status to pull from |
HARDCOVER_SYNC_CONTENT_TYPE |
Request as | Audiobooks | Audiobooks, Ebooks, or Ebooks and audiobooks — the last creates one request of each per shelf book, each checked against its own library |
HARDCOVER_SYNC_INTERVAL |
Sync interval | 6 | Combined with the unit below |
HARDCOVER_SYNC_INTERVAL_UNIT |
Interval unit | Hours | Minutes or hours. The effective interval never drops below 60 seconds |
AUTO_DOWNLOAD_ENABLED |
Enable automatic downloads | Off | Auto-approve and queue strict matches for Hardcover requests |
AUTO_DOWNLOAD_SOURCE_PRIORITY |
Audiobook source priority | All usable sources | Drag to order; used for audiobook requests. Sources you disable here, or that are not configured, are skipped |
AUTO_DOWNLOAD_EBOOK_SOURCE_PRIORITY |
Ebook source priority | All usable sources | Same, for ebook requests |
AUTO_DOWNLOAD_MIN_SEEDERS |
Minimum seeders (torrents) | 1 | Torrent releases below this are ignored |
One action button sits at the bottom of the tab:
- Sync now runs a sync and automatic-download pass immediately using the saved settings. Sync runs even when scheduled sync is off; automatic downloads still require their own toggle.
Request Flow
- Shelf sync creates a pending request per new Hardcover book, with cover, year, and subtitle where Hardcover has them.
- If automatic downloads are enabled, the request is searched source by source and the first strict match is queued through the normal fulfil path. The request becomes fulfilled and its delivery state is tracked like any other.
- If no source yields a confident match, the request stays pending in the admin queue for manual review, exactly as if a user had requested the book.
Only requests whose provider is Hardcover are considered for automatic downloads, and requests that have already been dispatched are left alone.
Scheduler
The scheduler starts with the app and waits 60 seconds before its first cycle. Each cycle runs a shelf sync (when scheduled sync is enabled) followed by an automatic-download pass (when that is enabled), then sleeps for the configured interval. Intervals shorter than 60 seconds are raised to 60 seconds so a typo cannot hammer the Hardcover API. When neither toggle is on the scheduler idles.
Only one run happens at a time. If a scheduled cycle is in progress, Sync now reports that a sync is already running.
Troubleshooting
Sync adds nothing and the log says "no Hardcover token configured" — set Hardcover API Token on this tab, or configure the token on the Hardcover metadata provider. A sync without a usable token counts as an error and creates no requests.
Requests appear but nothing downloads — check Enable automatic downloads is on, that the source-priority list for the request's content type contains at least one configured source, and look for no strict match lines in the log. Lowering Minimum seeders helps on quiet trackers; loosening the title or author match is deliberately not an option.
Books you own keep being added — enable the library check for the format you request (see Library Check) and use its test button. A library that cannot be read shows up in the log as a skipped cycle.
Too many requests at once — the first sync of a large shelf creates one request per book, and the per-user pending limit from Users & Requests does not apply to synced requests. Start with a shelf you are happy to see in the queue in full.