Thread: Marvin 3.0
View Single Post
Old 06-21-2016, 08:43 AM   #150
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 983
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
Quote:
Originally Posted by Faterson View Post
The solution is very easy: just respect the meta-tag field, currently (unfortunately) titled "Author sort" in Marvin. (This has been mechanically copied from Calibre's user interface by Marvin; "author sort" is programmer's jargon instead of standard English, but whatever...) Whatever is in that meta-tag field, determines how authors are sorted. That's it, issue solved.
Calibre fills the "Author sort" field from the opf:file-as attribute I was mentioning.

Clearly there's a simple way to handle an author without an opf:file-as attribute.

What there is not is a simple way to handle the same author with different opf:file-as attributes.

eg:

book1 by "Ernest Hemingway" author sort "Hemingway, Ernest"

book2 by "Ernest Hemingway" author sort "Hemingway, E"

book3 by "Ernest Hemingway" author sort "Heminway, Ernest"

book4 by "Ernest Hemingway" no author sort

If Marvin saw these 4 books by the same author which of the "author sort" values would it use?

Last edited by chrisridd; 06-21-2016 at 08:46 AM. Reason: Added book4
chrisridd is offline   Reply With Quote