View Single Post
Old 08-06-2013, 05:45 PM   #9
crdf
Connoisseur
crdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animals
 
crdf's Avatar
 
Posts: 54
Karma: 6910
Join Date: Jul 2013
Device: Kindle Touch
I'm sure I've seen it before but I'm lacking a lot of sleep.

I found the regexp to remove the [ bracket from the series info in another topic: /post 09-24-2010, 04:29 AM/ Credit to: megachirops

Code:
(?P<author>((?!\s-\s).)+)\s-\s(?:(?:\[\s*)?(?P<series>.+)\s(?P<series_index>\d+)(?:\s*\])?\s-\s)?(?P<title>[^(]+)(?:\(.*\))?




The Ducks when there is no comma it was flipping the name from Greg Cox to Cox Greg.
The Tweak setting is about the sort name and it did not affect the author name in the title and the importing of the name, so I guess that is why it is a separate setting.

Ok, so I changed the tweak for author_sort_name to 'copy' and unchecked the swap author's names. Looking at the metadata of a book the sort name is swapped with a coma.

Quote:
# Author sort name algorithm
author_sort_copy_method = 'copy'
Author(s): Anne McCaffrey Author sort: McCaffrey, Anne

I'm really no sure if that answers your question.

Edit: If author is Cox, Greg it does not invert and Author sort is: Austen, Jane

Last edited by crdf; 08-06-2013 at 06:05 PM. Reason: More Info
crdf is offline   Reply With Quote