CalibReader / Support / Calibre plugin

Calibre plugin

A small calibre plugin, CalibReader Sync, that brings your phone's read/unread marks, how far you've read and when you last read each book into your desktop library. It's optional: your library syncs to the app without it.

Download CalibReaderSync.zip Latest release · calibre 9.0+ · release notes

Install the plugin

  1. Download CalibReaderSync.zip from GitHub Releases (button above).
  2. In calibre, open Preferences → Plugins.
  3. Click Load plugin from file and select CalibReaderSync.zip.
  4. Restart calibre. Optionally add the Sync Read Status button to your toolbar.
calibre Preferences, Plugins: CalibReader Sync 1.2.0 installed, with the Load plugin from file button
Preferences → Plugins: CalibReader Sync installed. “Load plugin from file” is bottom right.

Configure it

  1. Read status goes into a Yes/No custom column with the lookup name read_status. Create it in Preferences → Add your own columns: lookup name read_status, type Yes/No, heading Read Status. See Custom columns for the full walkthrough.
  2. % read and last read go into columns you choose. Open Settings… from the arrow next to the Sync Read Status button (or Preferences → Plugins → CalibReader Sync → Customize). Pick a whole-number column for % read and a date column for last read. The plugin suggests columns you already have, such as Kobo Utilities' Percent Read, or Create column… makes new ones through calibre's own dialog. Restart calibre after creating a column.
  3. Make sure your calibre library folder is the same synced folder CalibReader reads on your phone. The plugin looks for CalibReader_sync.json and CalibReader_positions.json right inside that library folder.
  4. Wait for your cloud app (iCloud Drive, Dropbox or OneDrive; Google Drive on Android) to finish syncing. The plugin then syncs by itself, or click Sync Read Status to sync right away.
Already track read status in your own column? If your library has a Yes/No column such as #read or #finished, choosing it in CalibReader is coming in the next update. Until then, copy it into read_status once (the plugin spots a likely column and shows these steps too):
  1. Create the read_status column as above and restart calibre.
  2. Search for #read:yes (use your column's lookup name) and select all the books. Right-click Edit metadata and choose Edit metadata in bulk. On the Custom metadata tab set Read Status to Yes, tick Apply changes, then OK.
  3. Do the same with #read:no and No.
Search with :yes and :no: on a Yes/No column, :true also finds the books marked No.
CalibReader Sync settings: % read column Read % (#read_percent), last read column Last Read (#last_read)
The plugin settings: pick your % read and last read columns.

What it does

The full list of what goes which way is in the FAQ: What does two-way sync mean?

Each time it syncs, the plugin reads the two files CalibReader keeps in your calibre library folder:

A change you make in calibre isn't overwritten by an older one from your phone. Books in the files that aren't in the current library are skipped. The plugin syncs by itself a few seconds after calibre starts or you open a library, and whenever CalibReader's files change (it checks every 5 minutes); a short note appears in calibre's status bar and nothing pops up. Sync Read Status syncs any time, and Settings → Sync automatically turns the automatic sync off. Read status goes both ways: read marks you set in calibre reach the phone when it syncs. % read and last read go from your phone to calibre. The plugin's settings are saved in your library, so they follow it to other computers.

CalibReader saves your read marks in your library folder, and the plugin picks them up from there. See Set up sync to point both at the same folder.