Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2021, 08:32 AM   #1
wold
Enthusiast
wold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbit
 
Posts: 27
Karma: 60086
Join Date: Apr 2021
Device: PB Lux 5
[GUI Plugin] PocketBook Tools

Basic Calibre plugin offering several tools for (recent) Pocketbook readers.

It should support most recent HD, Lux, Basic and Inkpad models.
When Calibre recognises an USB connected PocketBook reader, the menu options should become available.

Current features:
  • Merge/fix annotations on device. When replacing e-book files, older highlights/notes may become hidden.
  • Backup databases (explorer-2/3.db and books.db) to a specified directory.
  • Copy .acsm, .app, .dic/.pbi and font files to their appropiate folders on the connected reader. (optionally copy from .zip files, and auto-delete the source file)
  • Export highlights to HTML (sorted by either date or title). For more features checkout the Annotations plugin.

The help file contains more details.

Suggestions are welcome.

Click image for larger version

Name:	screen-menu.png
Views:	56
Size:	39.5 KB
ID:	187474Click image for larger version

Name:	screen-config.png
Views:	52
Size:	52.5 KB
ID:	187475

Requirements:
Plugin was tested with the 'PocketBook Lux 2' driver with Calibre versions 3.48-5.x, under Linux and Windows 10.
Plugin will also run under 2.58 but could not be tested due to device driver issues (if wanting, checkout CLI options for main.py). *Uses Vendor ID = [0xfffe]

Test results for MacOS and devices are welcome.
Tested so far: Lux 5, PB Color, Inkpad HD 7,8"

Installation:
Open Preferences|Plugins|Get new plugins to install the 'PocketBook Tools' plugin.
Or, download the attached zip file and install the plugin manually.

Version History
Spoiler:
Changelog
---------
0.9.3 - 11 June 2021
- dialogs provide more feedback on number of backup/highlights/uploads, etc
- db backup adds date/time to backup filenames
- fixed: calibre 5 uses correct OS file dialogs

- fixed: highlight newlines exported as html breaks
- highlights without page(offset) have page set to '?'
- mac/linux: zip extraction restores modify/access dates (not creation)
- windows: fixed opening local file links in dialogs

- moved annotation count into functions (from device connection phase)
- compacted and simplified code
- minor changes/fixes

0.9.2
- Simplified merge/fix annotations tool
- Minor changes (plugin name, PEP style)
0.9.1
- Added merge/fix annotations tool
- Minor fixes (title/author sorting, page offset increment, config menu QT issue)
0.9.0 First release (June 2021)


Author PS:
This was developed for personal use and for learning purposes. If it proves useful to you, all the better.
Attached Files
File Type: zip pocketbook_tools.zip (131.2 KB, 426 views)

Last edited by wold; 06-11-2021 at 12:56 PM. Reason: Updated zipfile
wold is offline   Reply With Quote
Old 06-04-2021, 09:04 AM   #2
wold
Enthusiast
wold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbit
 
Posts: 27
Karma: 60086
Join Date: Apr 2021
Device: PB Lux 5
TODOs
Suggestions are welcome. In a bad imitation of mr. van Gaal: "no you have, yes you can get".

- add file selection dialog for uploader

Last edited by wold; 06-11-2021 at 02:12 PM.
wold is offline   Reply With Quote
Advert
Old 06-06-2021, 12:54 AM   #3
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 625
Karma: 6000100
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Aura One, Pocketbook Color PB633, Inkpad Color
It works on my Inkpad Color.
ps67 is offline   Reply With Quote
Old 06-09-2021, 01:02 PM   #4
wold
Enthusiast
wold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbit
 
Posts: 27
Karma: 60086
Join Date: Apr 2021
Device: PB Lux 5
Quote:
Originally Posted by ps67 View Post
It works on my Inkpad Color.
Thank you for testing it
wold is offline   Reply With Quote
Old 06-11-2021, 01:37 AM   #5
spider74
Junior Member
spider74 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2019
Location: italy
Device: PocketBook Inkpad 3 HD - PB740
It works also on my Inkpad HD 7,8"
spider74 is offline   Reply With Quote
Advert
Old 06-11-2021, 12:56 PM   #6
wold
Enthusiast
wold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbitwold with a running start, can leap into geosynchronous orbit
 
Posts: 27
Karma: 60086
Join Date: Apr 2021
Device: PB Lux 5
And the plugin can now be installed + updated via Calibre's plugin manager.

Update 0.9.3 adds more details about completed tasks in the dialogs.
Backup files are now stored with date + time in the filename.
Other changes are listed in the about dialog/text above.

Quote:
Originally Posted by spider74 View Post
It works also on my Inkpad HD 7,8"
Great Added it.

Last edited by wold; 06-11-2021 at 01:25 PM.
wold is offline   Reply With Quote
Old 06-11-2021, 01:17 PM   #7
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 625
Karma: 6000100
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Aura One, Pocketbook Color PB633, Inkpad Color
Works also on PB633 Color.
ps67 is offline   Reply With Quote
Reply

Tags
calibre, plugin, pocketbook

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 468 02-07-2021 04:07 PM
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools Jad Kindle Formats 476 03-15-2015 05:51 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 12:18 AM.


MobileRead.com is a privately owned, operated and funded community.