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 07-16-2025, 04:22 PM   #376
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,544
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
The current maintainer has plans to move to the serial number based ID.
PeterT is offline   Reply With Quote
Old 07-17-2025, 02:56 AM   #377
Majutsushi
Zealot
Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.
 
Posts: 103
Karma: 8592
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
Quote:
Originally Posted by TheOnceAndFuture View Post
Hello I've been trying to use KoboUtilities and I have some questions and feedback about two things that came up that I'd like to share.

Unique device names in profile device dropdown

My partner and I have two of the same device. It's great that KoboUtilities allows you to setup profiles so that each device can sync to a unique set of columns in Calibre. However, when selecting the "Device this profile is used for", it's impossible to know which to select because the devices have the same label.

I tried to do the following, but ultimately I ran into issues:
- In the 'Devices' tab, add your first device.
- Go to both profiles and set that same device as the device for that profile.
- Eject that device and connect the other device.
- Go to the 'Devices' tab and add this new device.
- Go to the profile corresponding to whose device this actually is, and TAB to the 'Device this profile is for' dropdown. DO NOT CLICK IT WITH YOUR MOUSE. Tab over to it and press SPACEBAR — the currently selected device should be the device you initially set it to, thus the other one (the one that is not selected), should be the new device. Use the up/down arrows to select that device, and press ENTER.

This approach in theory should work, but it would be nice if the dropdown simply included a unique identifier for devices (say, the serial number) to make it easier. The reason why I say "in theory should work" is because I wasn't actually able to get my annotations from my second device, which is the next issue.
You can rename devices in the device list, and the new name should show up in the profile assignment dropdown. Would that solve your issue?
At the moment you can only rename the connected device, but I can have a look into renaming non-connected ones as well. I'm also about to release a new version that shows the assigned profile in the device list.

Quote:
Issue retrieving device metadata with multiple profiles
While I have been able to successfully retrieve metadata from my device, such as 'reading location', which oddly appears to be a filename, 'rest of the book estimate', 'time spent reading', 'last read date', I cannot get it from my other device. I am not sure if this is a separate issue or related to the first issue.

To create a simple environment, both my devices only have a few annotations for 1 book (a different book on each device). I connect one device to calibre, select "Store/restore reading positions", and it pulled the relevant metadata from my 1 book. I safely eject the device and plugin the second device and try the same thing but I am unable to retrieve any data. And oddly, the first time I tried it actually just retrieved the same metadata as the first device, as if the first device was still connected (it wasn't—the second device was). However, I am unable to replicate the behavior and now nothing happens when I try to retrieve metadata from the second device.

In fact, in the process of writing this I'm trying again to pull the metadata, but it doesn't pull from either device now. The behavior is inconsistent and I'm not seeing any errors popup and there doesn't appear to be anything notable in the debug logs (it shows various koboutilities.action entries but nothing indicating an error or retrieval issue per se).

Are other people having issues with this or is it just me?
As far as I know metadata syncing should work fine, so I would need to see the debug logging to get a better idea of what could be the problem. Make sure that settings like "Only if more recent" aren't the cause of the behaviour you're seeing.

Quote:
Backup annotations file does not appear to work

In my library, I added some annotations to a book. I connected the book to my PC/Calibre, and am able to successfully view those annotations with "Copy annotation for selected book". However, when I try to use "Back up annotation file", no file appears to be created.

Thanks for reading
As I understand it the "Back up annotation files" feature only works for EPUB books, not KEPUB, because the mentioned files are written by the viewer that is only used for EPUB files. For KEPUB books you would have to use the "copy annotations" feature. That could maybe be made a bit clearer.
Majutsushi is offline   Reply With Quote
Old 07-20-2025, 02:19 PM   #378
nicoboss
Junior Member
nicoboss began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2025
Location: France
Device: Kobo Clara color
Device not shown

Hello, and thank you first of all to the creators of this plugin and to those who maintain it. That s a great work !
I'm still experimenting with Calibre, but I've managed to organize my e-library nicely.

However, I've run into a problem.
In the Kobo Utilities options, in the Devices tab, my Kobo Clara Color never appears, and the "add connected device" button remains inactive, even though my Kobo is connected and visible in Calibre (I sync my books with no problem). Is there a procedure I've missed? An incompatibility with this tablet I've missed?

These problems have perhaps already been mentioned, and I apologize if I haven't found them (yet).
And please excuse my poor English, I hope I've managed to express myself clearly.
nicoboss is offline   Reply With Quote
Old 07-20-2025, 06:14 PM   #379
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,544
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Standard question. What version of calibre?

Additionally you might like to run calibre in debug mode (Preferences | Restart in debug mode) and post the log file.
PeterT is offline   Reply With Quote
Old 07-30-2025, 02:30 PM   #380
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,544
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Enhancement idea

Would it be feasible to add a new function to Kobo Utilities to validate a user's settings for Collection transfer to their Kobo.

ie: Validate that the columns defined by the driver DO exist in Calibre, and that Metadata Management is set to Automatic management in the Sending books to device configuration.
PeterT is offline   Reply With Quote
Old 08-02-2025, 02:25 AM   #381
Majutsushi
Zealot
Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.
 
Posts: 103
Karma: 8592
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
If you're talking about the "Collections columns" option in the driver settings, then there was already a recent change to Calibre that checks that configured columns exist. As for checking for automatic metadata management I can't really think of a good place where it would make sense to put that, but I'll think about it.

Edit: I just realized that you've already talked about this in a GitHub issue you opened some time ago. Although the same thing as with the automatic metadata management applies here: I'm not sure how this could be done in the plugin in a way that makes sense. At what point should it do this checking? When deleting a configured column? I'm not sure it's even possible to hook into that, and even if it is I'm not sure the plugin would be the right place for this rather than the driver itself where the columns are actually configured.

Last edited by Majutsushi; 08-02-2025 at 02:49 AM.
Majutsushi is offline   Reply With Quote
Old 08-02-2025, 02:43 AM   #382
Majutsushi
Zealot
Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.
 
Posts: 103
Karma: 8592
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
I've made a change to how the plugin identifies devices based on a suggestion by @chaley: devices are now identified by their serial number instead of by the Calibre-generated drive UUID. This way devices will still be recognized even after they have been reset.

However there's a bit of fallout from this where I'm not sure what the expected behaviour would be. When renaming a device in the plugin settings it will also update the device name stored in the same 'driveinfo.calibre' file (this is the reason why you can only rename currently connected devices). This means that the updated name will also get lost when resetting a device, and as a result the name in the plugin settings and the name in the file will be out of sync.

As far as I can tell the device name in that file is only used by the 'connected_device_name()' template function, and I'm not sure if users of that function expect it return whatever name they've given a device in the KU plugin dialog.

Keeping these names in sync even after a device reset would essentially require that the plugin checks the file on every connect and updates it if it finds a discrepancy, but that would potentially introduce a race condition if anything else in Calibre wants to update that file as well.

I couldn't find any discussion about why this behaviour of changing the on-device name was introduced in the first place, so maybe no one even knows it exists. Because of this and the above complications I'm tending towards not updating the on-device file and keeping the renaming purely to the KU settings (which would then also allow renaming non-connected devices), but I wanted to first get an understanding of whether people have been using this at all.
Majutsushi is offline   Reply With Quote
Old 08-02-2025, 02:55 PM   #383
Lavender
Connoisseur
Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.
 
Lavender's Avatar
 
Posts: 84
Karma: 514138
Join Date: Jan 2025
Device: Kobo Clara BW
Quote:
Originally Posted by Majutsushi View Post
I couldn't find any discussion about why this behaviour of changing the on-device name was introduced in the first place, so maybe no one even knows it exists. Because of this and the above complications I'm tending towards not updating the on-device file and keeping the renaming purely to the KU settings (which would then also allow renaming non-connected devices), but I wanted to first get an understanding of whether people have been using this at all.
Are we talking about this device name?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20250802_135035.jpg
Views:	27
Size:	62.9 KB
ID:	217225  
Lavender is offline   Reply With Quote
Old 08-02-2025, 11:53 PM   #384
Majutsushi
Zealot
Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.Majutsushi shines like a glazed doughnut.
 
Posts: 103
Karma: 8592
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
Yes the one in the "Name" column, sorry if that was unclear.
Majutsushi is offline   Reply With Quote
Old Today, 11:15 AM   #385
nicoboss
Junior Member
nicoboss began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2025
Location: France
Device: Kobo Clara color
Quote:
Originally Posted by PeterT View Post
Standard question. What version of calibre?

Additionally you might like to run calibre in debug mode (Preferences | Restart in debug mode) and post the log file.

Thank you, I'll try that (as soon as i 'm back and with a computer)

for the version of Calibre, if i remember well, it s 6.29 (stuck at this version because of my old OS - macOS Big Sur 11.7)
nicoboss is offline   Reply With Quote
Old Today, 01:52 PM   #386
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,544
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by nicoboss View Post
Thank you, I'll try that (as soon as i 'm back and with a computer)



for the version of Calibre, if i remember well, it s 6.29 (stuck at this version because of my old OS - macOS Big Sur 11.7)
I'm curious... Since calibre 6.29 didn't support the Kobo Clara Colour, what additional plugins did you install to calibre to add support?

I just tried a test where (under Windows) I installed calibre 6.29 Portable. As expected, calibre did not see my Libra Colour. I then installed a "fix" for the Kobo Touchdriver from https://www.mobileread.com/forums/sh...1&postcount=60 along with Kobo Utilities at which point I had no issue seeing the Kobo from within either calibre or the Kobo Utilities.

Last edited by PeterT; Today at 02:00 PM.
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Kobo Utilities davidfor Plugins 3216 02-08-2025 04:23 AM
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB lrpirlet Plugins 2 08-18-2022 03:15 PM
[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


All times are GMT -4. The time now is 11:24 PM.


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