View Single Post
Old 01-07-2020, 06:44 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,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 jxall View Post
It works, thank you very very much!

Isn't it strange that Calibre doesn't show the usual pop-up window to ask me what should I do with these specific duplicates?
Not sure what you mean here. Calibre has options about what to do with duplicate books, but they only used when adding the book to the library. And maybe when you rename a book. Nothing is done when sending a book to a device.
Quote:
I have sent dozens of similar 'duplicates' to my Kobo, but these ones must be special for some reason. If I compare their info all the basic stuff is identical, except for the 'Publisher', 'Year and 'uuid' fields, which contain clearly different values...
The problem is probably in the save template you use in the driver. it is probably producing the same file name for both books in the pair. When they are sent to the device, the second one replaces the first one. Hence, only one book there when you disconnect.

The default save template looks like:

Code:
{author_sort}/{title} - {authors}
You could change this to include whatever is elsewhere in the metadata of the books that make them unique. For example, to use the publisher, the save template could be:

Code:
{author_sort}/{title} - {publisher} - {authors}
That only affects the file name on the device. The title and author will still be shown as whatever is in the library. The publisher should be seen in the details of the book. If you want to see the publisher in the library list, you can use a metadata plugboard to set the title when sending the book to the device. This could be:

Code:
{title} - {publisher}
Unfortunately, that would put the publisher at the end of the title of all books, not just the books with multiple editions. Another way, would be to use the subtitle field on the device. This is done via the driver configuration. On the "Metadata, on device & advanced" tab, make sure that "Update metadata on the device" is checked, then check the "Subtitle" option. The template field will be enabled. In this field put:

Code:
{publisher}
And press the OK button to save the changes.

With these options, the driver will update the metadata in the database on a Kobo device each time it is connected. Unfortunately, it cannot do this when you first send the book to the device. You need to disconnect the device, let it import the new books and then reconnect it. Calibre will do the metadata updates and when you disconnect it, the publisher will be shown in the list for each book. It will be shown like:

Code:
Book title
Publisher
SERIES NAME 1
Author
Again, the publisher will be shown for all books. Not ideal, but, personally I'd prefer it to having the publisher in the title.

Both of those are examples of what could be done. Exactly what the best thing to use is up to you. Maybe the publisher plus the published date for the book might be better.
davidfor is offline   Reply With Quote