07-15-2013, 06:17 PM | #1 |
Member
Posts: 13
Karma: 44
Join Date: Jul 2012
Device: kobo touch
|
Shelf management on Touch
I have a Touch with a lot of books on an SD card. Most are non-fiction, and organized in categories by folder name. Converting these folders into shelves one book at a time is an extremely tedious process. Is calibre the only way to create the shelves I want, or is there another way to do it by accessing the sqlite file directly?
Maybe Kobo will eventually provide shelf management in Kobo desktop, or is that too much to hope for? Thanks |
07-15-2013, 08:09 PM | #2 | |
Grand Sorcerer
Posts: 12,783
Karma: 75641916
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
See this for one approach
Quote:
|
|
Advert | |
|
07-16-2013, 12:55 AM | #3 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
You can also add multiple books to the shelf through the device. From the shelf, press the menu icon in the bottom right and select "Manage". On the next screen, press the "Add Books" at the top. The list of all books is displayed. Press the "+" to add each to a shelf. You can also press the magnifying glass to do a search and select books to add from the result.
The above is using the latest firmware. The exact options have changed over time, so maybe older firmware is different. |
07-16-2013, 02:32 PM | #4 |
Member
Posts: 13
Karma: 44
Join Date: Jul 2012
Device: kobo touch
|
I've been doing the multiple selection method, but it's still tedious, and I still have a few hundred books to go...
I'm not a programmer, so I wouldn't know how to use PeterT's script. I was hoping there might be a way to use an sqlite utility to select books by folder and add them to an existing shelf. |
07-16-2013, 09:06 PM | #5 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Sorry, I haven't seen anything else. There have been a couple of scripts similar to the one Peter pointed to. If you are confident in you SQL skills, you can use any SQLite browser to create the appropriate rows in the tables. Once there are a few, it is obvious what is needed.
Note: for anyone who thinks of trying it, the script Peter pointed to is for older firmware. When it creates the shelf, it puts a NULL into a column that no longer allows NULLs. If you want to use this, you need to change the line: Code:
c.execute("INSERT INTO Shelf VALUES ('2012-07-25T19:59:29Z', NULL, '%s', '2012-07-25T19:59:29Z', '%s', NULL, 'false', 'true', 'false')" % (shelf,shelf)) Code:
c.execute("INSERT INTO Shelf VALUES ('2012-07-25T19:59:29Z', '%s', '%s', '2012-07-25T19:59:29Z', '%s', NULL, 'false', 'true', 'false')" % (shelf,shelf,shelf)) |
Advert | |
|
07-16-2013, 09:22 PM | #6 |
Grand Sorcerer
Posts: 12,783
Karma: 75641916
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
What you could do is to add the shelves and a few sample books on the Kobo. Then open the database via a tool like Dbeaver and take a look at the ShelfContent table. It shoul
|
07-18-2013, 01:12 AM | #7 | |
Member
Posts: 13
Karma: 44
Join Date: Jul 2012
Device: kobo touch
|
Quote:
BTW I think your post got cut off or something... |
|
07-18-2013, 01:24 AM | #8 | |
Grand Sorcerer
Posts: 12,783
Karma: 75641916
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
What I was going to say was this. For simplicity, create the shelves on the Kobo itself. Then using any tool capable of editing SQLite tables you want to insert rows into the ShelfContent table. The key bits of info are: ShelfName: The internal name from the Shelf table ContentId: The location of the book going onto the shelf. This can be found from the content table. |
|
Tags |
shelves, touch |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Guide to Collections Management with calibre (Touch / Glo / Mini /Aura) | PeterT | Kobo Reader | 577 | 07-04-2024 07:55 AM |
Touch management bundle | twobob | Kindle Developer's Corner | 5 | 09-02-2013 08:21 AM |
Ebook/shelf management similar to Bebook One | Slone | Which one should I buy? | 4 | 10-17-2012 10:12 PM |
Thinking of getting a Kobo Touch - Battery + Book Management questions | nila | Kobo Reader | 17 | 06-23-2012 05:42 PM |
Kindle Touch Collection Management | RRRrrr | Amazon Kindle | 21 | 05-23-2012 06:05 AM |