![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,532
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I stand corrected AGAIN. Helps if you have the shelf/collection setting done correctly in the driver.
The STANDARD Kobo Touch driver DOES sync shelves/collections on the initial sync. Info on Shelf Contents is stored in the table ShelfContent with the key being the location on the Kobo that the book has been stored. on the other hand, SERIES info is stored in the Kobo Content table, which is the table populated by the eReader when it scans for content. This is why CollectionManager sets collections on the initial connection, but then totally ignores series info. |
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,945
Karma: 70880793
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,532
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Actually the filename is the fully qualified name; not just the epub. So for instance my testing had
Code:
INSERT INTO ShelfContent(rowid,ShelfName,ContentId,DateModified,_IsDeleted,_IsSynced) VALUES(381,'ToReadSoon','file:///mnt/onboard/Lawrence, Mark/Grey Sister - Mark Lawrence.epub','2025-04-23T17:56:53Z','false','false'); |
![]() |
![]() |
![]() |
#19 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 20316
Join Date: Nov 2010
Location: Netherlands
Device: Kobo Libra 2
|
I got most of my info from working with claude.ai and others. Lots of trial and error, then i asked it to go search github for how the calibre kobo driver does it, and i had an addon called autoshelf, who did a similar thing.
Conclusion, to add/modify collections you are dealing with tables shelf and shelfcontent. The main table however, content, should be left alone, the kobo handles that on reconnect. I included my main.cpp, i'm open to suggestion, have been thinking like putting it up on github if there's interest. Quote:
|
|
![]() |
![]() |
![]() |
#20 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 554
Karma: 2928497
Join Date: Mar 2008
Device: Clara 2E & Sage
|
Unlike the others, this is just what I want - something that only handles collections. That was the only reason I installed Calibre. I don't use its other functions.
Thanks for posting about this. |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 554
Karma: 2928497
Join Date: Mar 2008
Device: Clara 2E & Sage
|
How do I add a book to multiple collections? For example, Fiction and Mystery.
|
![]() |
![]() |
![]() |
#22 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 20316
Join Date: Nov 2010
Location: Netherlands
Device: Kobo Libra 2
|
Just add it twice, once to each collection.
Which kobo do you have? Last edited by JeanC; 05-02-2025 at 04:29 AM. |
![]() |
![]() |
![]() |
#23 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 554
Karma: 2928497
Join Date: Mar 2008
Device: Clara 2E & Sage
|
When I drag it from the right side to a collection, it's then no longer listed on the right.
|
![]() |
![]() |
![]() |
#24 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 20316
Join Date: Nov 2010
Location: Netherlands
Device: Kobo Libra 2
|
Yes that's how it works. The box on the right has the books that are not in any collection. If you drag one into a collection it is removed from that list.
A collection is tied to a map. If you want the same book twice you have to use File - Upload to upload it to the other map/collection too. What kobo did you use my app on? Last edited by JeanC; 05-02-2025 at 01:12 PM. |
![]() |
![]() |
![]() |
#25 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 554
Karma: 2928497
Join Date: Mar 2008
Device: Clara 2E & Sage
|
Sage.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Collection Manager | JeanC | Kobo Reader | 17 | 04-02-2025 04:32 AM |
Kobo Collection Manager | JeanC | Kobo Developer's Corner | 0 | 02-17-2025 04:31 AM |
collection manager | Lordblacknail | Amazon Kindle | 10 | 06-04-2011 05:59 PM |
collection manager | Lordblacknail | Sony Reader | 2 | 05-04-2011 01:01 AM |
collection manager | Lordblacknail | Barnes & Noble NOOK | 1 | 05-04-2011 12:54 AM |