View Single Post
Old 04-08-2024, 01:00 PM   #12
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,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Thanks for the log.

Your plugboard is missing the last line. It must be
Code:
program:
	comma = '';
	res = '';
	for author in $authors separator '&':
		res = strcat(res, comma, swap_around_comma(author));
		comma = ', '
	rof;
	res
Without the "res" at the end the plugboard always returns a comma. I suspect the Kobo thinks a comma is two empty author names.

Assuming the books are on the device, you shouldn't need to send a book to test it. Simply connect, let the process finish, then disconnect, and the metadata will be updated.

Also, remember that after you send a book, the book's series will be set the second time you connect the device.
chaley is offline   Reply With Quote