|
|
Thread Tools | Search this Thread |
08-21-2010, 08:36 PM | #1 |
Enthusiast
Posts: 36
Karma: 12
Join Date: Aug 2010
Device: Kobo eReader
|
How to Remove Books from the I'm Reading List without Scrolling to the End
While playing around with my new Kobo, I came across the common problem of having no option to remove a book from the 'I'm Reading' list without scrolling to the last page of the last chapter.
So I worked out my own solution. It isn't that time-consuming, but might be a bit complex as it involves editing the SQLite database. The steps are as follows: 1. Install sqlitebrowser or another sqlite editor. I'm using Crunchbang, but any system that can run sqlitebrowser should work. On Ubuntu (and probably Debian) based systems, you can install sqlitebrowser with 'apt-get install sqlitebrowser'. 2. Back up your Kobo's database. If your Kobo is mounted on /media/KOBOeReader, then the database will be at /media/KOBOeReader/.kobo/KoboReader.sqlite. 3. Open the Kobo's database with sqlitebrowser. 4. Go to the 'Browse Data' tab and select the table 'content'. This may take a while to load. You will find a record for each chapter of each book, followed by one for the book as a whole. This last entry is the one that needs editing. The fields 'BookID' and 'BookTitle' should be empty (unlike the chapters), and the book's title should be in the 'Title' field. You may use the find window to search for this record. 5. Once you have found the book's entry, set it to be unread. Set 'FirstTimeReading' to 'true' and 'ReadStatus' to '0'. If you want to find all books (and documents) that are in the reading list, search for 'ReadStatus' = '1'. 6. Save the database. 7. Unmount and disconnect your Kobo. After the Kobo has processed new content, the books should no longer appear in the reading list. If something goes wrong, restore the backup of your database. I take no responsibility for corrupting your Kobo's database, but please let me know if anything doesn't work with these instructions. I have tested them with version 1.4 of the firmware only. |
08-21-2010, 10:00 PM | #2 |
Addict
Posts: 259
Karma: 48576
Join Date: Jun 2010
Device: Kobo
|
Or delete it from your library and re-sync
|
Advert | |
|
08-21-2010, 10:21 PM | #3 |
Enthusiast
Posts: 36
Karma: 12
Join Date: Aug 2010
Device: Kobo eReader
|
|
08-22-2010, 01:12 AM | #4 |
himself
Posts: 576
Karma: 11226
Join Date: May 2010
Device: Kobo
|
Or simply using regexp 'ReadStatus'='1' and set it to <insert-whatever>?
|
08-22-2010, 01:59 AM | #5 | |
Enthusiast
Posts: 36
Karma: 12
Join Date: Aug 2010
Device: Kobo eReader
|
Quote:
Code:
UPDATE content SET ReadStatus = '0' SET FirstTimeReading = 'true' WHERE Title = 'Title of Book'; Code:
WHERE ReadStatus = '1'; |
|
Advert | |
|
08-22-2010, 04:42 AM | #6 |
Zealot
Posts: 107
Karma: 250
Join Date: Jul 2010
Location: Brisbane, Australia
Device: Kobo, Sony PRS650
|
Thanks very much for this information farrioth. It'd really be great to see this little sqlite tip integrated into calibre one day.
|
08-22-2010, 04:51 AM | #7 |
Enthusiast
Posts: 36
Karma: 12
Join Date: Aug 2010
Device: Kobo eReader
|
You're welcome. Indeed it would. I don't imagine it would be too challenging to write a plugin, although I have no idea what the Calibre plugin interface is like.
|
08-22-2010, 09:32 AM | #8 |
Connoisseur
Posts: 98
Karma: 7542
Join Date: May 2010
Device: Kobo
|
This actually sounds like a lot more work than just going to the last chapter and flipping pages.
|
08-22-2010, 09:52 AM | #9 |
Enthusiast
Posts: 28
Karma: 5012
Join Date: Jul 2010
Device: Kobo (original)
|
Thanks for sharing farrioth. The more we share, the more we learn! I'll give it a try if for no other reason than to play with the database!
|
08-22-2010, 10:53 AM | #10 | |
himself
Posts: 576
Karma: 11226
Join Date: May 2010
Device: Kobo
|
Quote:
sqlite directly: http://linux.die.net/man/1/sqlite3 or something in between: http://www.sqlitemanager.org/ Sounds better to mount the reader and approach the file from the home box. Frankly, have to read manual for it to speak any further. Another topic might be "jump to page XX". |
|
08-22-2010, 08:23 PM | #11 | |||
Enthusiast
Posts: 36
Karma: 12
Join Date: Aug 2010
Device: Kobo eReader
|
Quote:
Quote:
Quote:
The database seems to store the current position by the paragraph and word (fields are 'ParagraphBookmarked' and 'BookmarkWordOffset'), presumably to account for the font resizing, which presents a bit of a challenge. |
|||
08-23-2010, 12:56 AM | #12 | ||
himself
Posts: 576
Karma: 11226
Join Date: May 2010
Device: Kobo
|
Quote:
see none. I assume regexp should search for the whole input of the book and pipe it as the output. Quote:
next version should not be remade from the scratch? Since the reader shows page numbers, I'm sure it could follow it and put bookmark/pointer to it. Probably one function to both do that and be called from "menu" to find the page in question. |
||
08-23-2010, 02:12 AM | #13 | ||
Enthusiast
Posts: 36
Karma: 12
Join Date: Aug 2010
Device: Kobo eReader
|
Quote:
If you're using SQL queries, you shouldn't actually need a regular expression as such, unless you want to search for a partial title or similar. Quote:
|
||
08-23-2010, 12:19 PM | #14 | ||
himself
Posts: 576
Karma: 11226
Join Date: May 2010
Device: Kobo
|
Quote:
More I read, less I want to go further. If you ask why, the answer would be: no need for db of that kind. Simply follow directory tree, pick the book, load the book, read the book. Bookmark could be tricky, but it is not unsolvable. Quote:
to time I ask myself why things become complicated without any reason. People need "go-to-page" more than cover on power down. |
||
08-23-2010, 05:59 PM | #15 | |
Enthusiast
Posts: 36
Karma: 12
Join Date: Aug 2010
Device: Kobo eReader
|
Quote:
Why implement a database as a filesystem when you can implement it as a database? These are of course all assumptions based on what little I know about the design of the system. Indeed. As I'm not a Kobo developer, however, there's little more I can do than wait until the next release. |
|
Tags |
i'm reading, kobo, sqlite |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to remove Table of Contents at the end of news feed | TonytheBookworm | Calibre | 4 | 09-21-2010 11:19 AM |
Remove Books - Restoring Confirm to remove books | Caffey | Calibre | 6 | 09-20-2010 10:23 AM |
Anyone here remove books from sd card after reading? | clerky96 | Ectaco jetBook | 5 | 05-31-2010 12:34 AM |
How to remove a reader from Sony's list | Tdew | Sony Reader | 5 | 10-20-2009 10:10 AM |
Better reading experience - remove cover | ksri99 | Sony Reader | 4 | 02-11-2009 05:54 PM |