View Single Post
Old 01-03-2024, 12:18 PM   #14
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,486
Karma: 8025704
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by w00dent0p View Post
Since the Kobo only seems to cope with one author anyway, I started wondering wouldn't it make sense to add some intelligence on the Calibre or plug-in side, to more intelligently choose which author to pass across to the .kepub? Or at least keep the author(s) exposed in Calibre and remove any other creators.
It doesn't work this way for me for books sent by calibre to my Libra 2. I have lots of books with multiple authors where my L2 shows the book under each author. For example, a book with 2 authors shows both authors in the book details window, and in the authors list both authors for the book appear under each author.

IIRC getting this behavior required using a metadata plugboard for the kobo (kobotouch) that changes the way authors are formatted. All of my authors are in "LN, FN & LN2, FN2" format. The plugboard changes them to "FN LN, FN2 LN2". Here is the plugboard and the template I use in the plugboard.
Click image for larger version

Name:	Clipboard01.jpg
Views:	128
Size:	142.7 KB
ID:	205556

Code:
program:
	comma = '';
	res = '';
	for author in $authors separator '&':
		res = strcat(res, comma, swap_around_comma(author));
		comma = ', '
	rof;
	res
chaley is offline   Reply With Quote