Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-09-2023, 07:43 PM   #1
dogmayor
Junior Member
dogmayor began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2023
Device: Kobo Sage
Unhappy Update Metadata on Device While Connected

I'm looking for a way to get Calibre to update the metadata of the files added to my Kobo while the device is still connected. I have the KoboTouchExtended plugin installed which updates metadata on connection. However, any files added will not have their metadata updated until I eject and reconnect the device.

I've tried the KoboUtilities plugin, but when I select 'Update metadata in device library' I get the message: calibre, version 6.11.0
Kobo Utilities - Device library updated: Update summary:
Books updated=0
Unchanged books=0
Books not on device=1
Total books=1

After ejecting and reconnecting it is then able to find the books and just lists them as unchanged.

I tried my best to find a solution on this myself but I'm not too good with this kind of thing, so hopefully someone out there will help me. What would be the best way to go about this?
dogmayor is offline   Reply With Quote
Old 01-10-2023, 01:28 AM   #2
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,629
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
There is no other way, sorry. Kobo has to include books in the database for calibre to send the metadata, and the process only happens after the ereader is ejected. This is a two-steps method, no way around it.
Terisa de morgan is offline   Reply With Quote
Advert
Old 01-10-2023, 06:09 AM   #3
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: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
More specifically, the book needs to be imported to Kobo's database before it can be changed.

If you're not afraid of mucking around with configuration files, NickelMenu for Kobo will allow you to add a "connect USB" option so you don't need to take out the cable to re-connect it. This helps a bit.

Last edited by ownedbycats; 01-10-2023 at 06:10 AM. Reason: add nickelmenu link
ownedbycats is offline   Reply With Quote
Old 01-10-2023, 02:18 PM   #4
dogmayor
Junior Member
dogmayor began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2023
Device: Kobo Sage
Oof. Wish I had known that before spending so much time troubleshooting. I probably should have considered after the first hour of testing that the processing the Kobo was doing after ejection was a factor. Oh well, thanks for the information.

The NickelMenu route is close enough to what I was trying to accomplish anyway. I'll have to do some tinkering with that when I get the chance.

Thank you!
dogmayor is offline   Reply With Quote
Old 01-10-2023, 02:20 PM   #5
uli
Zealot
uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.uli can program the VCR without an owner's manual.
 
Posts: 109
Karma: 194274
Join Date: Jun 2011
Location: Montreal
Device: Kobo, Calibre
Also NickelSeries can save an eject and update for the series metadata.
uli is offline   Reply With Quote
Advert
Old 01-10-2023, 11:57 PM   #6
dogmayor
Junior Member
dogmayor began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2023
Device: Kobo Sage
So I am able to prompt the USB pop-up using NickelMenu. I also see
Code:
rescan_books_full    - forces a full usb connect/disconnect cycle
It seems to function the same way whether or not the device is connected via USB. It did add a book downloaded wirelessly in KOReader to the stock catalog, but even when the device was plugged in, the metadata did not update.

Maybe I'm being greedy, but is forcing the USB connection dialog the furthest I can take this?
dogmayor is offline   Reply With Quote
Old 01-11-2023, 01:50 AM   #7
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: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Here's my configuration file

Code:
menu_item : main : USB Connect : nickel_misc : force_usb_connection
menu_item : library : USB Connect : nickel_misc : force_usb_connection   
menu_item : main : Toggle Autoconnect : nickel_setting: toggle : auto_usb_gadget
ownedbycats is offline   Reply With Quote
Old 01-11-2023, 12:21 PM   #8
dogmayor
Junior Member
dogmayor began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2023
Device: Kobo Sage
Toggling auto_usb_gadget is what I was missing. Works perfectly now, thanks!
dogmayor is offline   Reply With Quote
Old 01-11-2023, 02:37 PM   #9
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
auto_usb_gadget - Automatically enable USB mass storage on connection
I don't understand this. In WinExplorer I see my Kobo always automatically and why should this help to avoid the second connect?
Wiggo is offline   Reply With Quote
Old 01-11-2023, 04:34 PM   #10
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: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Wiggo View Post
I don't understand this. In WinExplorer I see my Kobo always automatically and why should this help to avoid the second connect?
You don't necessarily need that bit. Usually, Kobo prompts to connect, but the prompt failed to appear when my SleepCover was closed. So I just set up a toggle to let it connect without the prompt.

I think you can also add it as an permanent, but I wanted to be able to turn it off easily in case I needed to.
ownedbycats is offline   Reply With Quote
Old 01-11-2023, 05:46 PM   #11
dogmayor
Junior Member
dogmayor began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2023
Device: Kobo Sage
Quote:
Originally Posted by Wiggo View Post
I don't understand this. In WinExplorer I see my Kobo always automatically and why should this help to avoid the second connect?
Unfortunately, it doesn't avoid the second connection. It seems the second connection is required so my goal became minimizing the number of steps needed. Enabling auto_usb_gadget bypasses the connection prompt on Kobo which is just one less thing to do.

I haven't actually given up on a solution with less steps being possible, but it's gonna take me forever to figure out if it's even doable. I'm thinking something sent to the device that triggers automatically when both new books have been added and an eject has just completed, which then runs NickelMenu's force_usb_connection, waits for Calibre to update metadata, and then finally ejects. Any ideas on if/how this could be done?
dogmayor is offline   Reply With Quote
Old 01-11-2023, 05:51 PM   #12
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: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Not that I'm aware of, but you might want to go ask over in the Kobo forum.

My method when adding a new book is:

1. Connect the book with the cable. Autoconnect will connect.
2. After the file sends to device, eject the device.
3. Open the SleepCover (if it already isn't) and wait for the 'importing' dialog to finish. (It sometimes takes a few seconds to detect.)
4. Use the 'USB Connect' on the menu to connect a second time.

Then I use a custom Action Chain that uploads cover to device and pre-sets the font.

Last edited by ownedbycats; 01-11-2023 at 05:54 PM.
ownedbycats is offline   Reply With Quote
Old 01-11-2023, 11:28 PM   #13
isarl
Addict
isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.
 
Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
Quote:
Originally Posted by dogmayor View Post
I haven't actually given up on a solution with less steps being possible, but it's gonna take me forever to figure out if it's even doable. […] Any ideas on if/how this could be done?
Did you look at NickelSeries? It literally does exactly what you want – patches your Kobo so that, when importing new content, it also reads the Series metadata.

Quote:
Originally Posted by uli View Post
Also NickelSeries can save an eject and update for the series metadata.
isarl is offline   Reply With Quote
Old 01-12-2023, 12:16 AM   #14
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Thx guys, now I understand
Wiggo is offline   Reply With Quote
Old 01-12-2023, 11:02 AM   #15
dogmayor
Junior Member
dogmayor began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2023
Device: Kobo Sage
Quote:
Originally Posted by isarl View Post
Did you look at NickelSeries? It literally does exactly what you want – patches your Kobo so that, when importing new content, it also reads the Series metadata.
I probably should have specified I'm trying to do this for files that Kobo can not read embedded metadata from. As far as I can tell the Kobo can already read embedded metadata from epubs and kepub files, so it would have to be a p. niche case for me to need to use it. Unless I missed something and it also works for other file types.
dogmayor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I clicked "Update cached metadata on device" but device's metadata hasn't changed droopy Devices 11 09-21-2019 01:12 AM
Forma In Calibre, I tap "Update cached metadata on device" but Kobo still has old metadata droopy Kobo Reader 2 09-06-2019 10:23 PM
Update metadata on device (author) MSWallack Devices 6 07-11-2018 11:59 AM
Error when updating cache metadata on the connected device sylvain62 Devices 5 03-19-2015 02:49 PM
Can Not get metadata to update on device...VERY annoying! brenwa Library Management 0 03-05-2012 06:10 PM


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


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