05-10-2017, 12:35 PM | #1 |
Member
Posts: 16
Karma: 10
Join Date: Feb 2015
Device: None
|
Pocketbook - set collections from Calibre Metadata?
Is there any way to set the collections on a Pocketbook Inkpad 2 automatically using calibre metadata? I'd like to put all mysteries in one collection, all science books in another, etc. I didn't see any options for this readily apparent in the settings/plug-ins.
|
05-10-2017, 12:54 PM | #2 |
creator of calibre
Posts: 44,145
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, the pocketbook driver has no support for collections, i'm afraid. It needs some developer with access to a PocketBook to write the code for it.
|
05-10-2017, 01:10 PM | #3 |
Librocubicularist
Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
|
The Pocketbook reads tags, so you could manage this by setting the desired tags.
|
11-21-2018, 10:21 PM | #4 |
Connoisseur
Posts: 57
Karma: 49187
Join Date: Oct 2010
Device: Kindle Keyboard 3G, Kobo Mini, Glo HD, Inkbook Prime HD, Kobo Libra
|
Hi kovidgoyal, would just like to know if calibre is now able to create/manage collections in pocketbook.
|
11-21-2018, 11:18 PM | #5 |
creator of calibre
Posts: 44,145
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
it doesn't
|
09-16-2022, 06:19 AM | #6 |
Member
Posts: 17
Karma: 10
Join Date: Sep 2022
Device: Pocketbook Inkpad Color
|
Has Something changed by now?
|
09-29-2022, 04:58 PM | #7 |
Wizard
Posts: 1,161
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
|
12-10-2023, 11:57 AM | #8 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Sep 2014
Device: ipad air
|
@kovidgoyal I'm mapping my own collection custom column to 'genre' via a plugboard, but I'd prefer to map it to 'collection': I tried to find the relevant driver (code) in the github repo, in the hope of maybe being able to submit a PR to add 'collection' support, but couldn't figure out which class/driver: could you possibly point me to the correct class name, file, or similar? (I think it might be the EB600?)
Last edited by masp; 12-10-2023 at 12:00 PM. |
12-10-2023, 12:01 PM | #9 |
creator of calibre
Posts: 44,145
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
it will depend on th emodel you have. in general grep the codebase for pocketbook in the src/calibre.devices sub-directory.
|
12-10-2023, 01:54 PM | #10 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Sep 2014
Device: ipad air
|
I think it must be eb600.py: looks like maybe the Pocketbook devices were based on a Netronics device; however, all the EB600 subclasses seem to fall back on the methods of its base class (USBMS), so I'm looking at that and Device and CLI (which it inherits from); I guess I might have to create a new subclass of USBMS for my Pocketbook model? Not clear to to me yet how that (or any) driver class maps calibre columns to device book attributes (eg. for my Pocketbook ("Verge Pro") the tags column is mapped to the 'Genre' attribute (which I override via a plugboard), but I don't know where that (tags -> 'Genre') mapping is defined; I guess I would need a crash course in the calibre codebase to get much further
|
12-10-2023, 10:06 PM | #11 |
creator of calibre
Posts: 44,145
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The important thing here would be booklist, you can subclass and override the methods that process and send booklists to the device. However most likely you will end up writing a full driver to deal with database on device syncing issues. Examples are the SONY and Kobo drivers.
|
12-10-2023, 10:10 PM | #12 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Sep 2014
Device: ipad air
|
Thanks! Is there any way for me to tell which class is being applied currently when I connect and/or when I send to the connected device?
|
12-10-2023, 10:13 PM | #13 |
creator of calibre
Posts: 44,145
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
which class of what? And just put prints into whatever code path you like run calibre as
calibre-debug -g something like print(self) in the open() method will tell you what class it is. |
12-11-2023, 12:04 AM | #14 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Sep 2014
Device: ipad air
|
Yeah, sorry: I meant which device (eg. EB600). I'll play around with it as you suggest...
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pocketbook 912 - Set margins for epub files? | porga | PocketBook | 7 | 01-27-2013 05:05 PM |
set metadata field | fr3d | Library Management | 6 | 06-14-2012 11:25 AM |
Can I set up collections on the Kindle Touch in Windows? | guspasho | Amazon Kindle | 10 | 12-13-2011 03:18 PM |
Set up Collections with Calibre | goldberry | Sony Reader | 3 | 09-14-2010 11:32 AM |
is it possible to set mobipocket "subject" metadata from calibre? | rheostaticsfan | Calibre | 3 | 05-20-2010 08:44 AM |