Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2024, 01:30 PM   #16
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by theducks View Post
I have no Plugboard for my Kobos.
My Library is Fn Ln

It just works. The Kobo indexes each Author (on the by Authors menu).
It shows by the order in Calibre (in the proper place for the name being indexed), but make additional entries for each Author listed.

Are you trying other ways to force this?
Are you talking to me?

AFAIK the Kobo requires comma-separated authors in FN LN form. My plugboard does that. Without it I get nonsense.

I wouldn't be surprised if the Kobo driver turns ampersands into commas. If it does then the second step in my plugboard, building a comma-separated list, is superfluous. That said, from calibre's viewpoint the plugboard makes a single author containing all the author names in comma-separated form, which works for me.
chaley is offline   Reply With Quote
Old 01-03-2024, 02:44 PM   #17
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by chaley View Post
Are you talking to me?

AFAIK the Kobo requires comma-separated authors in FN LN form. My plugboard does that. Without it I get nonsense.

I wouldn't be surprised if the Kobo driver turns ampersands into commas. If it does then the second step in my plugboard, building a comma-separated list, is superfluous. That said, from calibre's viewpoint the plugboard makes a single author containing all the author names in comma-separated form, which works for me.
That must be what the driver does, cuz it ain't me
theducks is offline   Reply With Quote
Advert
Old 01-04-2024, 03:36 AM   #18
w00dent0p
Connoisseur
w00dent0p began at the beginning.
 
w00dent0p's Avatar
 
Posts: 67
Karma: 10
Join Date: Dec 2021
Location: Berkshire, UK
Device: Kobo Libra 2
Quote:
Originally Posted by chaley View Post
All of my authors are in "LN, FN & LN2, FN2" format.
Mine too. But the issue with the specific book was an author (actually translator) under a different creator section in the metadata which didn't even appear in Calibre but which the L2 somehow got picked up as the author.
w00dent0p is offline   Reply With Quote
Old 01-04-2024, 04:26 AM   #19
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by w00dent0p View Post
Mine too. But the issue with the specific book was an author (actually translator) under a different creator section in the metadata which didn't even appear in Calibre but which the L2 somehow got picked up as the author.
It sounds like calibre isn't updating the authors, perhaps because you haven't enabled sending metadata in the Kobo driver either/or set "Metadata Management" to automatic. This would force the L2 to read metadata from the OPF and authors wouldn't be fixed on the next connect. Also, if calibre is sending metadata and your authors are LN, FN then without the plugboard the authors on the L2 would be wrong, at least sorting incorrectly.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	119
Size:	78.0 KB
ID:	205567   Click image for larger version

Name:	Clipboard02.jpg
Views:	114
Size:	145.8 KB
ID:	205568  
chaley is offline   Reply With Quote
Old 01-04-2024, 04:35 AM   #20
w00dent0p
Connoisseur
w00dent0p began at the beginning.
 
w00dent0p's Avatar
 
Posts: 67
Karma: 10
Join Date: Dec 2021
Location: Berkshire, UK
Device: Kobo Libra 2
Calibre is updating authors when I run polish, but in this particular problem case Calibre didn't remove an author that wasn't even exposed in Calibre. The L2 then used this author.

Metadata management is set to automatic.

I don't have the plugboard so for most books my L2 only shows the first author shown in Calibre, and I'm fine with that.
w00dent0p is offline   Reply With Quote
Advert
Old 01-04-2024, 04:43 AM   #21
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by w00dent0p View Post
Calibre is updating authors when I run polish, but in this particular problem case Calibre didn't remove an author that wasn't even exposed in Calibre. The L2 then used this author.

Metadata management is set to automatic.

I don't have the plugboard so for most books my L2 only shows the first author shown in Calibre, and I'm fine with that.
I am having trouble making sense of this. I looked at the driver code and if the "Update metadata on device" is set then it (calibre) will update the authors on every connect, using the authors in calibre. The driver changes the L2 database.

Do you have "Update metadata on device" set?
chaley is offline   Reply With Quote
Old 01-04-2024, 04:52 AM   #22
w00dent0p
Connoisseur
w00dent0p began at the beginning.
 
w00dent0p's Avatar
 
Posts: 67
Karma: 10
Join Date: Dec 2021
Location: Berkshire, UK
Device: Kobo Libra 2
Sorry, the more I get into this, the more I struggle with terminology and what metadata comes from what source.

Except for this one particular book, everything works fine.

For this one particular book, I can see using Sigil that the original EPUB metadata contained two Creator entries, one for author and one for translator. When I import this book into Calibre, only the author is shown. I can then, for example, add a second author in Calibre, and run polish. I can then see in Sigil that there are now 3 creators, 2 authors from Calibre and the one original translator that's still there. The L2 then picked the translator to be the author (based on what rules, I don't know) and if it hadn't done that, I'd never have known that creator entry even existed, because it's never shown in Calibre.

Last edited by w00dent0p; 01-04-2024 at 05:45 AM.
w00dent0p is offline   Reply With Quote
Old 01-04-2024, 04:53 AM   #23
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by w00dent0p View Post
Sorry, the more I get into this, the more I struggle with terminology and what metadata comes from what source.

Except for this one particular book, everything works fine.

For this one particular book, I can see using Sigil that the original EPUB metadata contained two Creator entries, one for author and one for translator. When I import this book into Calibre, only the author is shown. I can then, for example, add a second author in Calibre, and run polish. I can then see in Sigil that there are now 3 authors, 2 from Calibre and the one original translator that's still there. The L2 then picked the translator to be the author (based on what rules, I don't know) and if it hadn't done that, I'd never have known that creator entry even existed, because it's never shown in Calibre.
Asking again, do you have "Update metadata on device" set?
chaley is offline   Reply With Quote
Old 01-04-2024, 04:57 AM   #24
w00dent0p
Connoisseur
w00dent0p began at the beginning.
 
w00dent0p's Avatar
 
Posts: 67
Karma: 10
Join Date: Dec 2021
Location: Berkshire, UK
Device: Kobo Libra 2
Where is that setting?

Under 'Sending books to devices', metadata management is set to Automatic.
w00dent0p is offline   Reply With Quote
Old 01-04-2024, 05:06 AM   #25
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by w00dent0p View Post
Where is that setting?

Under 'Sending books to devices', metadata management is set to Automatic.
It is in the driver preferences. If you have Kobo Utilities installed, go to its menu, select "Driver", then "Configure current driver". The setting is on the third tab, "Metadata, on device & advanced".

If you don't have KU installed or if you prefer, go to calibre Preferences / Plugins and search for kobotouch.

Note that if it isn't set, then setting it might really mess up your authors on the L2 unless you set the plugboard. If it is set then I am confused.

EDIT: it might be a bit different if you are using the kobotouch extended driver.
chaley is offline   Reply With Quote
Old 01-04-2024, 05:29 AM   #26
w00dent0p
Connoisseur
w00dent0p began at the beginning.
 
w00dent0p's Avatar
 
Posts: 67
Karma: 10
Join Date: Dec 2021
Location: Berkshire, UK
Device: Kobo Libra 2
Ok, thanks. I have 'Update metadata on the device' set.
w00dent0p is offline   Reply With Quote
Old 01-04-2024, 06:13 AM   #27
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by w00dent0p View Post
Ok, thanks. I have 'Update metadata on the device' set.
Looking further at the code, the driver updates core metadata as long as a book "is_sideloaded". That seems to be False if a book was originally purchased, which seems to be determined by the file path on the book. Or perhaps by something in the OPF. It is hard to tell.

That leads to the question: was this book originally purchased from Kobo? Was it downloaded from the Kobo store to the device?

If you are willing, we could get a lot of information about what is happening by running calibre in debug mode then connecting your L2 then posting that log. The Kobo driver prints reams of info about what books it is processing and what it is doing with the metadata.
chaley is offline   Reply With Quote
Old 01-04-2024, 06:21 AM   #28
w00dent0p
Connoisseur
w00dent0p began at the beginning.
 
w00dent0p's Avatar
 
Posts: 67
Karma: 10
Join Date: Dec 2021
Location: Berkshire, UK
Device: Kobo Libra 2
Post #1, it was side-loaded.

But shouldn't the focus be on why Calibre isn't picking up or updating/removing the 2nd creator entry (for translator) when the book is first added to the library, or when the book is polished? I have no reason to think that the kobo driver is doing anything wrong.
w00dent0p is offline   Reply With Quote
Old 01-04-2024, 06:51 AM   #29
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by w00dent0p View Post
Post #1, it was side-loaded.

But shouldn't the focus be on why Calibre isn't picking up or updating/removing the 2nd creator entry (for translator) when the book is first added to the library, or when the book is polished? I have no reason to think that the kobo driver is doing anything wrong.
How calibre manipulates the OPF is outside my remit.

As for the driver doing something wrong, as far as I can tell it doesn't use the OPF and doesn't care what it in it. It sends the authors from the calibre database, so it won't send the translator. Either:
  • the kobo driver isn't sending the authors, which doesn't happen for me, or
  • the kobo firmware is now ignoring what the driver is putting in the DB, which doesn't happen for me.
Example:
  1. I picked a book on my L2 with a single author in calibre.
  2. I added the author "delete aaa" in calibre.
  3. Connected my L2.
  4. Let the metadata update finish.
  5. Ejected the device.
The author "delete aaa" is now in the authors page on the L2, but is not in the OPF of the book on the L2. In fact, the book file didn't change. It did the same thing when I removed "delete aaa"; it disappeared from the L2. This tells me that in my case the OPF isn't involved when determining authors.

My conclusion: something is preventing calibre from updating the authors on your L2 for that book, forcing the L2 to pull them from the OPF. There might be something in the OPF that is telling the driver to behave this way, i.e., whatever sets the "is_sideloaded" indication. Or whatever. I am out of ideas.
chaley is offline   Reply With Quote
Old 01-04-2024, 07:49 AM   #30
w00dent0p
Connoisseur
w00dent0p began at the beginning.
 
w00dent0p's Avatar
 
Posts: 67
Karma: 10
Join Date: Dec 2021
Location: Berkshire, UK
Device: Kobo Libra 2
I'd just emphasise that manually deleting the translator info from the original EPUB (the first 6 lines below) using Sigil, before adding to Calibre library, everything seemed golden.

Creator Sarah Death
Display Sequence 2
File As Death, Sarah
Id Attribute creator2
Role Translator
Scheme marc:relators
Creator Karin Smirnoff
File As Smirnoff, Karin
Id Attribute id
Role Author
Scheme marc:relators
w00dent0p is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where does Calibre expose the Creator / Translator role. John IV Library Management 3 04-16-2025 11:27 PM
Translator is displayed instead of Author Zaz Editor 2 02-03-2023 06:24 PM
Word / Text Translator, Kindle or Kobo? xtrem1337 Which one should I buy? 13 06-17-2015 12:15 AM
Calibre won't Launch and I need a translator. SamanthaMG Calibre 0 01-03-2011 10:29 AM


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


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