View Single Post
Old 05-07-2018, 08:27 PM   #24
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 bernard.ryefield View Post
Yes, this is the case, not matching in Calibre AND with the two authors correctly displayed on the device
In that case the debug log didn't show anything useful. You need to change the text in the debugging field in the driver configuration to show debug info for this book. Then connect while running calibre in debug mode and post the log.
Quote:
There are other books with different problems: one author and a series, one author and one book, one author and different series etc...
I you wish to investigate I will give you as much details I can, otherwise let's call it a day and go for the solution you give below.
I am happy to look as if I can fix anything, it reduces other issues. It just takes a bit of time.
Quote:
Can you check the process I intend to follow?

1) I delete all non-matching books from the device SD card

2) I go to KoboUtilities> Driver > KoboTouchExtended

3) I go to the template editor

4) I replace the current template with your plugboard in the same field, that is:
Code:
program: raw_list('authors', ', ')
I'm waiting for your green light. Thank you again.
NO! Sorry, I've said this at least once before in this thread, but that is NOT what you want. That is the save template and is only used to set the file name of the books when sent to the device. The file names are not used for matching the books when a Kobo device is connected.

"Metadata plugboads" is a completely separate area in the calibre preferences. Their purpose is to modify the metadata inside the books. The metadata is read by the Kobo device and displayed when you are looking at the book list or the book details. It is also used when the device is connected to calibre is trying to match the books. An explanation of them is at https://manual.calibre-ebook.com/tem...and-plugboards.

You can use the plugboard I showed by:
  1. Opening the calibre preferences.
  2. Select the "Metadata plugboard".
  3. On the "Add new plugboard" line, select "epub" in the first drop-down and "KOBOTOUCHEXTENDED" in the second. (The latter is because you appear to be using the KoboTouchExtendedDriver."
  4. In the first field under "Source template", past the text for the plugboad.
  5. In the drop-down on the same line as the text field, select "authors".
  6. Press the "Save plugboard" button under the fields. Details of the plugboard will be shown in the "Existing plugboards" field on the left.
  7. Click the "Apply" button to save the changes and close Metadata plugboards.
  8. Click the Close button to close the preferences dialog.

Now, when you send an epub to the device, the author metadata will be changed to look like "FN1 LN1, FN2 LN2". This is how the Kobo devices like them and will show this in the book lists. And in the "Authors" list will show "FN1 LN1" and "FN2 LN2" as separate entries which when opened will both include the book.

And, importantly for this discussion, when the device is connected, the book is much more likely to be correctly matched to book in the calibre lirbary.
davidfor is offline   Reply With Quote