Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2025, 02:18 PM   #16
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
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.
PeterT is offline   Reply With Quote
Old 04-23-2025, 03:27 PM   #17
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,834
Karma: 70000001
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by JSWolf View Post
The filename? What if I have two books with the same name?
Jon, could you download the collection manager and try it.
John F is offline   Reply With Quote
Advert
Old 04-23-2025, 03:57 PM   #18
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
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');
PeterT is offline   Reply With Quote
Old 04-23-2025, 04:12 PM   #19
JeanC
Connoisseur
JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.JeanC can self-interpret dreams as they happen.
 
JeanC's Avatar
 
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:
Originally Posted by PeterT View Post
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');
JeanC is offline   Reply With Quote
Old Yesterday, 10:48 PM   #20
jgray
Fanatic
jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.
 
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.
jgray is offline   Reply With Quote
Advert
Old Today, 12:29 AM   #21
jgray
Fanatic
jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.jgray ought to be getting tired of karma fortunes by now.
 
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.
jgray is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:20 PM.


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