![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,263
Karma: 78869092
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,834
Karma: 70000001
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,263
Karma: 78869092
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: 55
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: 552
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: 552
Karma: 2928497
Join Date: Mar 2008
Device: Clara 2E & Sage
|
How do I add a book to multiple collections? For example, Fiction and Mystery.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |