03-13-2018, 06:52 PM | #1471 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I have written the trigger like this in the past. I'll have a look through some notes as I might have kept it. It has been discussed here, so a sample might have been posted. Other than that, the table you need to look at is called "Activity". |
|
03-15-2018, 12:02 AM | #1472 |
Zealot
Posts: 100
Karma: 224118
Join Date: Dec 2014
Device: Kobo H20 Aura
|
I was restoring read states and noticed that some books have the percentage but not the location but just at the beginning of the book? I noticed it says on the first page restore states for epubs. Does this mean kepub will not function with it and will not bring you to the same location you left of in the book?
|
Advert | |
|
03-17-2018, 06:24 AM | #1473 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
CREATE TRIGGER Activity_KeepTileFirst_UPDATE AFTER UPDATE ON Activity FOR EACH ROW WHEN ( new.Type = 'GlobalStats') BEGIN UPDATE Activity SET Date = datetime(Date,'+1 month') WHERE rowid = new.rowid; END |
|
03-18-2018, 10:04 PM | #1474 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
It should work for sideloaded epubs and kepubs. I have to admit I don't use the restore very often, but it worked the last time I did try. The last time I did a big lot was just before Christmas as I was changing which of my ereaders I was going to use daily. That was for a about 100 books and they all seemed to be OK. For purchased kepubs, it should work, but you might never see it. When you open a purchased kepub, it attempts to retrieve the current status from the server. If there is an update, it will prompt you to use this. And during a sync, it will quietly replace the status. I don't remember if I ever tried this. |
|
03-19-2018, 05:15 PM | #1475 | |
Connoisseur
Posts: 52
Karma: 55058
Join Date: Mar 2018
Location: Spain
Device: Kobo Glo HD
|
Quote:
I have tried this, but it doesn't work: Code:
CREATE TRIGGER Activity_KeepTileFirst_UPDATE AFTER UPDATE ON Activity FOR EACH ROW WHEN ( new.Type = 'browser') BEGIN UPDATE Activity SET Date = datetime(Date,'+1 month') WHERE rowid = new.rowid; END |
|
Advert | |
|
03-19-2018, 09:06 PM | #1476 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
04-14-2018, 03:23 AM | #1477 |
Absentminded Reader
Posts: 1,104
Karma: 6463851
Join Date: Apr 2017
Device: Kobo Mini, Clara HD, Elipsa; Kindle Paperwhite 3 & 4; iOS eReader apps
|
It's a great tool. Thanks for writing it, davidfor.
I was experimenting tonight. I first checked the database. I also backed it up. I also side loaded a book through Calibre. Then I ran Order Series Shelves. I fetched the shelves and removed one that I wasn't using. Then I ejected my KA1 LE to see the changes. I immediately noticed that dozens of books had been removed from their collections. They're still on the device, but no longer associated with the collections I chose. My iPad collections remained unchanged. At this point, the KA1 and the iPad Kobo app are not in sync. Also, the shelf I removed came back on my KA1 and iPad. This last one was likely because Calibre forced it back on, so I've removed the shelf from Calibre. But do you know of an easy fix to get the two devices to sync their collections again? One way is to log out of my KA1 and log back in. This will reinitialize the database which seems to be corrupt now. What do you think? Last edited by Cootey; 04-14-2018 at 03:44 AM. Reason: more info |
04-14-2018, 09:51 AM | #1478 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
For books to disappear from a collection, one of the following has to happen: Code:
Manually remove the book using the device. Change to collections column definition in the calibre driver. Changes in the values in the collections columns. Changes made on other devices/apps logged into the same account and synced. Having multiple devices and apps can cause a problem. Plug a device in and let calibre do the collections. Sync via the server to the other device and plug that in. Calibre will do the collections again and might delete some if that device doesn't have the same books. Having the app around just adds an extra place for collections to be created and maybe conflict with what is happening elsewhere. Quote:
|
||
04-14-2018, 03:00 PM | #1479 | |
Absentminded Reader
Posts: 1,104
Karma: 6463851
Join Date: Apr 2017
Device: Kobo Mini, Clara HD, Elipsa; Kindle Paperwhite 3 & 4; iOS eReader apps
|
Quote:
Completely unrelated to your tool, but it’s interesting that the sideloaded books remain on a reset. The new setup has no idea where to put them anymore, but at least I don’t have to copy them over again. I didn’t realize your tool made backups until last night. If I had restored the backup manually, would that have fixed my corrupt collections database? |
|
04-15-2018, 03:53 AM | #1480 | |||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
|
|||
04-16-2018, 07:07 AM | #1481 | |
Absentminded Reader
Posts: 1,104
Karma: 6463851
Join Date: Apr 2017
Device: Kobo Mini, Clara HD, Elipsa; Kindle Paperwhite 3 & 4; iOS eReader apps
|
Quote:
|
|
04-16-2018, 03:06 PM | #1482 |
Grand Sorcerer
Posts: 12,162
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Are you managing collections on both the Kobo and in calibre?
|
04-17-2018, 12:40 AM | #1483 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@Cootey: The question that PeterT asks is important as each time you connect, calibre will do the collection management. Also, are the books that are disappearing from collections purchased kepubs or sideloaded books?
|
04-17-2018, 01:10 AM | #1484 |
Absentminded Reader
Posts: 1,104
Karma: 6463851
Join Date: Apr 2017
Device: Kobo Mini, Clara HD, Elipsa; Kindle Paperwhite 3 & 4; iOS eReader apps
|
|
04-17-2018, 01:14 AM | #1485 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Then go into the driver configuration and turn off the collection management options. Do it either from the devices button when the device is connected or the Kobo Utilities button to make sure you get the correct driver.
|
Tags |
kobo, kobo utilities |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Manga plugin | mastertea | Plugins | 6 | 01-06-2022 02:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-25-2018 11:55 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |