github CaptainCamin/HardcoverSync.koplugin v1.7.0-beta.2

latest releases: v2.5.2, v2.5.1, v2.5.0...
pre-releaseone month ago

Shelves, book details and covers now live on your device too

Beta 1 kept your lists on the device. This beta does the same for the rest of your library: your shelves, the books on them, their details and their covers. The plugin asks Hardcover only what changed, and anything that hasn't changed opens from the device with no download at all.

What's new

  • Every shelf is kept on your device, even shelves you never open.
    • Home checks all four inside the request it already makes for the shelf counts.
    • Only shelves that changed are downloaded, and then only which books they hold plus any books the device doesn't have yet.
    • Finishing a book no longer reloads your whole Read shelf.
    • Moving, rating or removing a book changes the saved shelf straight away.
    • Shelves the previous version saved are carried over the first time.
  • Book details open instantly.
    • A book you've opened before, that's out and has a synopsis, cover and length, opens with no "Loading…" and no request for the book.
    • Your shelf and rating come from your saved shelves, and are brought up to date by the request the "Similar to" strip already makes.
    • Books not out yet are checked again once a week.
    • The series is kept for a week and works offline.
  • Stats and For you reload only when something they depend on changed (your Read shelf, your ratings), or once a week. Otherwise they open from the device.
  • Covers at the size they're shown. Covers now come from Hardcover's image service, the one hardcover.app itself uses, instead of at their uploaded size. A cover uploaded at 1.9 MB now arrives as 30 KB in a list and 83 KB on its details page.
    • If the service fails, the plugin tries again, then falls back to the original.
    • Covers now get 30 MB of space, so the big covers earlier versions kept are the first to be cleared.
  • Settings › Download covers for offline keeps the cover of every book on your shelves and lists, so offline shelves aren't a wall of blank boxes.
    • It tells you how many covers and roughly how much before it starts.
    • It shows progress with a Stop button and keeps the device awake while it runs.
    • It turns Wi-Fi on the same way Sync does.
    • Running it again picks up where it stopped.
  • Refresh in a shelf's menu, and a reload icon on a book's details page, download them again in full if anything ever looks out of date.

Measured on a real account (9 lists, 4 shelves, 758 books)

Before Now
Opening an unchanged shelf right after Home the whole shelf, every time no request
Read shelf (611 books) after one book changed 840 KB in 7 requests 51 KB, 1 request
Reopening a book you've opened before 4 requests, loading screen no request for the book
A cover in a list up to 1.9 MB 30 KB
Checking everything for changes — one request, ~1 KB
Everything offline lists only (beta 1) lists, shelves, details, covers you've kept
Space on the device — 1.5 MB for the whole library

Good to know

  • Updating from beta 1 is automatic. The on-device database upgrades itself, and your saved lists carry over. This was tested against a real beta 1 database.
  • The first Home open after updating downloads every shelf in the background. Your Read shelf comes down in full once. After that, only changes are downloaded.
  • Covers you've already seen are copied rather than downloaded again when you use Download covers for offline.

Please test

  • Open Home once while online, then turn on airplane mode and browse your shelves, Stats and a few books.
  • Back online, a book you opened before should appear instantly.
  • Try Settings › Download covers for offline, stop it partway, and run it again.
  • If anything looks stale, use Refresh and please report it.

What's Changed

  • Beta 1.7.0-beta.2: shelves, book details and covers kept on the device by @CaptainCamin in #56

Full Changelog: v1.7.0-beta.1...v1.7.0-beta.2

Don't miss a new HardcoverSync.koplugin release

NewReleases is sending notifications on new releases.