Basic plugin offering several tools for (recent) Pocketbook readers.
When Calibre recognises an USB connected PocketBook reader, the menu options should become available.
It should support most recent HD, Lux, Basic and Inkpad models.
Plugin was tested with the 'PocketBook Lux 2' driver with Calibre versions 3.48-5.x, under Linux and Windows 10.
Using 3.48 with recent PB e-readers will require adding the Touch Lux 2 driver from src/calibre/devices/misc.py to your local version.
Plugin will run under 2.58 but could not be tested due to device driver issues (if wanting, checkout the CLI options for main.py).
*Uses Vendor ID = [0xfffe]
Please visit the Mobileread thread: https://www.mobileread.com/forums/showthread.php?t=339806
Copies user selected .acsm, .app, .dic/.pbi and font (.ttf/.otf) files to the appropiate folder on the connected reader.
Note: .zip support requires Calibre 4.99.x or newer. Note that the simplified extraction method may lose (redundant) file metadata.
Copies explorer-x.db and books.db(s) to the specified directory, with 'profile' name and date appended.
The first contains file metadata from the library interface, and reading positions. The latter contains annotations and (unused) metadata.
Note: files are compared after copying.
Sorting options can be set using the configuration panel.
Note: Highlights edited using the device's Notes app, may lose their page location information.
For additional exporting features, see the Annotations plugin that can export highlights and notes to Calibre.
After an e-book files changes on the device, the 'books.db' annotations database may treat it as a new book. Examples are re-downloading public library e-books, and changing e-book cover and/or metadata. Afterwards, annotations created for the previous file may no longer be shown for the 'new' file.
This tool searches for such duplicated titles, and modifies their annotations so they point to the (highest) ID representing the 'newest' book entry.
PLEASE backup your books.db file(s) first, for example using the 'Backup database(s)' menu option. The device's database design tends towards adding or duplicating entries instead of modifying them. To avoid excessive duplication however, this tool modifies data in-place.
Building (and improving) upon parts from calibre-annotations and calibre-kobotools by DavidFor and griker, and the Calibre Plugin tutorial by Kovid Goyal. Without their work this plugin would not be possible.
Highlight export improves upon script idea by retrography from https://www.mobileread.com/forums/showpost.php?p=3740634&postcount=36
William Ouwehand 2021+ (mail todo)