Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-28-2020, 12:41 PM   #1
gogu1904
Connoisseur
gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 2112464
Join Date: May 2019
Device: Kobo Aura One LE
Authors split wrongly by Kobo

Hello,

I have epub books where the authors field is set via filename reading, as Surname, Name or Surname, Name & Surname, Name. All is good inside Calibre. But as I sideload the book in Kobo, Kobo creates two separate autors, namely Surname and Name. How can I teach Kobo that Surname, Name is a single author? Or how can I correct the problem? Thank you.
gogu1904 is offline   Reply With Quote
Old 08-28-2020, 02:22 PM   #2
gogu1904
Connoisseur
gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 2112464
Join Date: May 2019
Device: Kobo Aura One LE
To clarify: the metadata is read from filename as:

Series [index] LN, FN & LN, FN = Title

This helps me have a clean archive of the original files. This is how I have the epub and mobi files when exported on hard drive. I noticed that Kobo separates by comma and sees two autors for each real autor (LN and FN seen as different authors). Therefore I need to convert on the fly the sequence LN, FN & LN, FN from the filename to FN LN & FN LN. And when exporting, as well, have the conversion back. The conversion after input works with Quality Check plugin. The conversion at output works with using author sort instead of authors. So all is good.

But I also use batch file conversions using epub-convert and epub-meta in cmd files (for all files in a folder etc). There all these do not work, unless I can use the quality check plugin in command line. This is where I would like to solve the problem.

Thank you!
gogu1904 is offline   Reply With Quote
Advert
Old 08-28-2020, 02:48 PM   #3
gogu1904
Connoisseur
gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 2112464
Join Date: May 2019
Device: Kobo Aura One LE
It appears to be more complicated than that. When Calibre reads LN, FN & LN, FN and understands correctly two authors with those names, Kobo will have to read FN LN & FN LN. But now Kobo sees only the first author. I believe Kobo needs FN LN, FN LN as metadata in order to see all authors correctly.
gogu1904 is offline   Reply With Quote
Old 08-28-2020, 02:57 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,457
Karma: 145863170
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Are you downloading ePub and removing the DRM if there is any? If so, let Calibre read the metadata from the ePub and only then if it's not correct should you correct it. That's what I do.

OH and you don't know the eBook is getting the author incorrect since you are not allowing Calibre to read the metadata. In most cases, the filename is not good to use to populate the metadata in Calibre. And if the metadata is incorrect, it's the fault of the publisher, not Kobo.

Last edited by JSWolf; 08-28-2020 at 02:59 PM.
JSWolf is offline   Reply With Quote
Old 08-28-2020, 05:19 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,463
Karma: 168808777
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by gogu1904 View Post
It appears to be more complicated than that. When Calibre reads LN, FN & LN, FN and understands correctly two authors with those names, Kobo will have to read FN LN & FN LN. But now Kobo sees only the first author. I believe Kobo needs FN LN, FN LN as metadata in order to see all authors correctly.
Correct. Kobo uses the comma as the separator between two or more authors with names in the FN LN format.
DNSB is offline   Reply With Quote
Advert
Old 08-28-2020, 11:13 PM   #6
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
@gogu1904: Yes, that is how the Kobo devices work. They expect the authors to be in the format "FN1 LN1, FN2 LN2". That is not actually wrong, just different than how you want it. Which is also different to what calibre uses.

There is a possible error in that Kobo only reads the first dc:creator tag in the OPF file. But, that is probably a lacking rather than an actual error.

This has been extensively discussed here and in the Kobo forum. The general recommendations are:
  • Use "FN LN" for the authors in calibre.
  • If you want to display "LN, FN", use the author sort for this
  • For archiving the books elsewhere, use the author sort.
  • For Kobo devices, use a metadata plugboard to set the author in a way the device will understand. Assuming you have done the first item above, the following template does this:
    Code:
    program: raw_list('authors', ', ')
davidfor is offline   Reply With Quote
Old 08-29-2020, 06:21 AM   #7
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,366
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by davidfor View Post
This has been extensively discussed here and in the Kobo forum. The general recommendations are:
  • Use "FN LN" for the authors in calibre.
  • If you want to display "LN, FN", use the author sort for this
  • For archiving the books elsewhere, use the author sort.
  • For Kobo devices, use a metadata plugboard to set the author in a way the device will understand. Assuming you have done the first item above, the following template does this:
    Code:
    program: raw_list('authors', ', ')
You can keep "LN, FN & LN, FN" in calibre and convert it to "FN LN,FN LN" for Kobo using this template in the plugboard.
Code:
program:
	re(list_re_group(field('authors'), '&', '.', '(.*)', "program: swap_around_comma($)"), '&', ', ')
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Words split between lines on Kobo Touch Bermudagirl Kobo Reader 5 12-01-2014 09:21 PM
File split sometimes shows more split lines DrChiper Editor 1 12-23-2013 05:38 PM
Kobo glo does never split words at end of sentence sunny1z Calibre 4 01-21-2013 12:48 AM
Left and right quotes converted wrongly dwwaddell Conversion 5 01-06-2012 06:44 AM
Wrongly Predicted Javed Lounge 6 02-17-2010 10:40 PM


All times are GMT -4. The time now is 10:57 PM.


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