View Single Post
Old 08-20-2026, 06:50 PM   #5
nmyshkin
Connoisseur
nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.
 
nmyshkin's Avatar
 
Posts: 72
Karma: 56675
Join Date: Nov 2021
Device: NST (3), NSTG (3), NG
OK....I managed to track down an old plugin revising the Nook Color driver, which also included code for the Nook Classic.

Although I am not conversant in Python, I have manged to adapt it for my purposes and it works!!!!

I'd like to clean it up a little, mainly by adding an icon for the menu bar at the top of Calibre when the device is connected. The original code included for (I assume) this purpose is:

Code:
class NOOK(USBMS):

	name           = 'Nook Classic Interface (large thumbnails)'
	gui_name       = _('New Nook Classic')
	description    = _('Communicate with the New Nook Classic eBook reader.')
	author         = 'John Schember with enhancements by Joel Ricker and Nmyshkin@XDA'
	icon           = I('devices/nook.jpg')
	version        = (1, 1, 2)
	supported_platforms = ['windows', 'linux', 'osx']
The line that begins with "icon" seems like the right place. At first I thought this might be a reference to the Calibre directory itself (in a much earlier iteration), but trying "app/resources/images/devices" (where the icon actually exists) made no difference. No icon is displayed.

I then looked at the documentation for plugins and it seemed to suggest an icon should be stored locally within the zip. So I added an "image" folder to the zip, containing a local copy of nook.jpg. The path then became "image/nook.jpg"

Alas, that also does not work :-(

Can anyone help?
nmyshkin is offline   Reply With Quote