Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2022, 05:30 AM   #2401
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Update to version 2.15.0

I have just updated the plugin to version 2.15.0. This is take advantage of an upcoming change in calibre to related to creating custom columns.

The change list is:
  • New: Use CreateNewCustomColumn to create custom columns in the configuration dialog.
  • Change: Update importing of some Qt classes as part of preparation for calibre v6/Qt6.

The main change is in the plugins configuration. This will add a "Create new column" entry to the bottom of the lists of custom columns. Selecting this will open a dialog to create the column with suggestions for the lookup name and column headings. These can be changed. When the OK button is pressed the column is added to calibre. When the configuration dialog is closed, you will be prompted to restart calibre to complete the creation of the columns. Until calibre is restarted, no further changes to the plugins configuration can be made or to the overall calibre preferences.

This change will not take affect until the next release of calibre. This relies on some excellent work by @chaley with how custom columns are created. But, the plugin is still compatible with older versions of calibre.

The other change is some preparation for calibre 6 which will be using Qt6. This will have no effect on anything except the effort needed later.

As usual, calibre will announce the update in the next hour or so. And if there are any problems or questions, please post them here.
davidfor is offline   Reply With Quote
Old 01-05-2022, 03:08 PM   #2402
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 930
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by davidfor View Post
I have just updated the plugin to version 2.15.0. This is take advantage of an upcoming change in calibre to related to creating custom columns.

The change list is:
  • New: Use CreateNewCustomColumn to create custom columns in the configuration dialog.
  • Change: Update importing of some Qt classes as part of preparation for calibre v6/Qt6.

The main change is in the plugins configuration. This will add a "Create new column" entry to the bottom of the lists of custom columns. Selecting this will open a dialog to create the column with suggestions for the lookup name and column headings. These can be changed. When the OK button is pressed the column is added to calibre. When the configuration dialog is closed, you will be prompted to restart calibre to complete the creation of the columns. Until calibre is restarted, no further changes to the plugins configuration can be made or to the overall calibre preferences.

This change will not take affect until the next release of calibre. This relies on some excellent work by @chaley with how custom columns are created. But, the plugin is still compatible with older versions of calibre.

The other change is some preparation for calibre 6 which will be using Qt6. This will have no effect on anything except the effort needed later.

As usual, calibre will announce the update in the next hour or so. And if there are any problems or questions, please post them here.

Hi, @davidfor.

First, I don't have a Kobo. I installed your plugin just to see the new CreateNewCustomColumn feature, and learn how to implement it on my plugin (Skoob Sync).

Thank you guys very much, both @chaley and you, for your efforts. This is really great. Got it working here thanks to your code for this plugin.

Now, while testing it, I noticed that your Last Read and Rating columns labels seems to be mixed. Maybe I got it wrong, but you should give it a check.

Last edited by thiago.eec; 01-05-2022 at 03:12 PM.
thiago.eec is online now   Reply With Quote
Old 01-06-2022, 02:33 AM   #2403
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by thiago.eec View Post
Hi, @davidfor.

First, I don't have a Kobo. I installed your plugin just to see the new CreateNewCustomColumn feature, and learn how to implement it on my plugin (Skoob Sync).

Thank you guys very much, both @chaley and you, for your efforts. This is really great. Got it working here thanks to your code for this plugin.
Glad it helped. And I'm also glad I did some cleanup of the code
Quote:
Now, while testing it, I noticed that your Last Read and Rating columns labels seems to be mixed. Maybe I got it wrong, but you should give it a check.
I kept doing that as different parts of the code had the columns in different orders. Thanks for noticing.
davidfor is offline   Reply With Quote
Old 01-06-2022, 03:02 AM   #2404
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Update to version 2.15.1

I have just released version 2.15.1 of the plugin. This is a quick fix for the problem noticed by @thiago.eec with the custom columns.

The changes are:
  • Fix: In some places the text for the rating and last read code was swapped.
  • Change: Handle cancelling the custom column creation better.
  • Change: Calibre v6/Qt6 migration - code cleanup

The other change was that I wasn't handling what happened when creating the custom column was cancelled.

As usual, calibre will announce the update in the next hour or so. And if there are any problems or questions, please post them here.
davidfor is offline   Reply With Quote
Old 01-16-2022, 11:51 PM   #2405
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
What exactly does the "page #### is never used" error (corrupt database) actually mean? Compressing the database fixed it.
ownedbycats is offline   Reply With Quote
Old 01-17-2022, 12:34 AM   #2406
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by ownedbycats View Post
What exactly does the "page #### is never used" error (corrupt database) actually mean? Compressing the database fixed it.
It means an internal page mapping is out of sync. Basically, one place has pointer say that a page in the file is used, but, none of the tables or indexes are actually using the page. Here, "page" is basically the unit of allocation of disk space in the file. It should be safe to ignore.

The compress, or VACUUM, rebuilds the file. So, it cleans up any unused space.
davidfor is offline   Reply With Quote
Old 01-25-2022, 11:36 AM   #2407
Infernoweb
Junior Member
Infernoweb began at the beginning.
 
Infernoweb's Avatar
 
Posts: 8
Karma: 10
Join Date: Dec 2016
Location: France
Device: Kobo Aura HD
Hi !

I'm facing a strange behavior between Calibre 5.35 (x64) / Kobo Utilities 2.15.1 and my Kobo Aura HD reader :

On the reader, i've set some books already readed as "unread" to read them again and begun the "re redeading".

But when I connect my Kobo to Calibre, Kobo Utilities says there are no read positions to update. The related books in Calibre show always the read position at 100 even if there are set as unread or got a new read position on the device.

Not sure if it could be important but i'm using Calibre with Windows 11.

Thanks for your help !

Regards,
Eric

[edit] Version of of my Kobo Aura HD firmware : 4.31.19086 [/edit]

Last edited by Infernoweb; 01-25-2022 at 11:40 AM. Reason: adding kobo firmware version
Infernoweb is offline   Reply With Quote
Old 01-25-2022, 11:51 AM   #2408
Infernoweb
Junior Member
Infernoweb began at the beginning.
 
Infernoweb's Avatar
 
Posts: 8
Karma: 10
Join Date: Dec 2016
Location: France
Device: Kobo Aura HD
Question No reading position update

Hi !

I'm facing a strange behavior between Calibre 5.35 (x646) / Kobo utilities 2.15.1 and my Kobo Aura HD Reader (firmware 4.31.19086) :

On the device, i've set some already readed books as "unread" to re-read them again.

But when I connect the device to Calibre, Kobo utilities says there is no new read position to update. In Calibre library, these books are still shown with a reading position 100, even if they have a new reading position or set as unread.

Thanks for your help !

Regards,
Eric
Infernoweb is offline   Reply With Quote
Old 01-25-2022, 01:33 PM   #2409
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
Smile

Quote:
Originally Posted by Infernoweb View Post
Hi !

I'm facing a strange behavior between Calibre 5.35 (x646) / Kobo utilities 2.15.1 and my Kobo Aura HD Reader (firmware 4.31.19086) :

On the device, i've set some already readed books as "unread" to re-read them again.

But when I connect the device to Calibre, Kobo utilities says there is no new read position to update. In Calibre library, these books are still shown with a reading position 100, even if they have a new reading position or set as unread.

Thanks for your help !

Regards,
Eric
I have a vague memory of having the same issue some time ago. I think it was immediately after a firmware update on my Forma. Click on the Kobo Utilities dropdown, go to Customize Plugin > Devices and see if it recognizes your Aura when it's plugged in. If not, I believe you'll have to hit the Add Connected Device button, add it and check your settings for it on the other tabs.

Of course, I could be wrong
enuddleyarbl is offline   Reply With Quote
Old 01-25-2022, 06:20 PM   #2410
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 919
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
Quote:
Originally Posted by Infernoweb View Post
Hi !
On the device, i've set some already readed books as "unread" to re-read them again.

But when I connect the device to Calibre, Kobo utilities says there is no new read position to update. In Calibre library, these books are still shown with a reading position 100, even if they have a new reading position or set as unread.,
Eric
In the Kobo Utilities Options pane, there are checkboxes at the bottom to filter updates:
  • Only if more recent
  • Not if finished in library
You can either uncheck the second option or clear the book progress in calibre if you want to have it track progress on a reread.
compurandom is offline   Reply With Quote
Old 01-25-2022, 08:26 PM   #2411
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by compurandom View Post
In the Kobo Utilities Options pane, there are checkboxes at the bottom to filter updates:
  • Only if more recent
  • Not if finished in library
You can either uncheck the second option or clear the book progress in calibre if you want to have it track progress on a reread.
I keep both of those option checked. When I start rereading a book, I change the percent read to something lower than 100. The reading status will update the next time it is fetched.
davidfor is offline   Reply With Quote
Old 01-26-2022, 11:37 AM   #2412
Infernoweb
Junior Member
Infernoweb began at the beginning.
 
Infernoweb's Avatar
 
Posts: 8
Karma: 10
Join Date: Dec 2016
Location: France
Device: Kobo Aura HD
Quote:
Originally Posted by davidfor View Post
I keep both of those option checked. When I start rereading a book, I change the percent read to something lower than 100. The reading status will update the next time it is fetched.
Ok, my bad !
Didn't noticed those options was checked and forgot I could set manually the reading position in Calibre. Both solutions.



Regards,
Eric
Infernoweb is offline   Reply With Quote
Old 01-28-2022, 07:39 AM   #2413
Lusephur
Connoisseur
Lusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshes
 
Posts: 50
Karma: 14208
Join Date: Apr 2017
Device: Kobo Aura One, Kobo Forma
Just a brief note of thanks. I've had this plugin installed for years and used it to update metadata and series info of books on my Kobo ereader. Little did I realise that I had it set up incorrectly. Once corrected, it now backs up a copy of my device library database and reading position when I connect my device, it's such a brilliant plugin that should be highighted more.
Thank you so much.
Lusephur is offline   Reply With Quote
Old 01-29-2022, 12:26 AM   #2414
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Aside from it probably being unnecessary, is there any reason not to compress the Kobo database once a day or thereabouts? I've gotten into the habit of doing it.
ownedbycats is offline   Reply With Quote
Old 01-29-2022, 03:14 AM   #2415
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by ownedbycats View Post
Aside from it probably being unnecessary, is there any reason not to compress the Kobo database once a day or thereabouts? I've gotten into the habit of doing it.
Strictly, it won't harm anything but, it is probably a waste of time.

A compress is only likely to be useful if there are a lot of changes. And it is more likely to be useful after a lot of deletes. SQLite will claim space but doesn't release it. But, it will reuse it. So, if you add ten books, the database file will grow. If you remove ten books, the file won't shrink and space in it will be marked as free. If you then add a book, it will should use the space that was free for the new book details. The compress will be useful to release the free space and hence get a smaller database file. But, it should also reorganise the tables and indexes. That might help with performance.

The other side of it is that every time you do something, there is risk. If you do the compress frequently, it is more likely you will hit whatever bug there is or the time you accidentally knock the cable out at exactly the wrong time.
davidfor is offline   Reply With Quote
Reply

Tags
kobo, kobo utilities


Forum Jump

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


All times are GMT -4. The time now is 02:00 PM.


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