![]() |
#1 |
Enthusiast
![]() Posts: 31
Karma: 12
Join Date: Mar 2010
Device: Kindle 2, Kindle 3
|
What am I missing? (author_sort)
I just upgraded (finally) from 6.45 to 7.17 and I'm having an issue getting the author names to come out right. I'm one of those people that prefer to see the author as "ln, fn" and I've always had "author_sort_copy_method = 'copy'" in %AppData%\calibre\tweaks.py. This was working fine with 6.45, but I just tried adding my first book since the upgrade and it seems to be swapping the names on me. I've double checked the setting in tweaks.py. Am I missing a new setting somewhere?
# The algorithm used to copy author to author_sort # Possible values are: # invert: use "fn ln" -> "ln, fn" (the original algorithm) # copy : copy author to author_sort without modification # comma : use 'copy' if there is a ',' in the name, otherwise use 'invert' # nocomma : "fn ln" -> "ln fn" (without the comma) author_sort_copy_method = 'copy' And this is what I'm seeing after I import the book... ![]() |
![]() |
![]() |
![]() |
#2 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,888
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Double check the current tweaks by going to Preferences - Advanced - Tweaks tab and checking the current tweaks in the bottom window. This is where the tweaks are edited and looking here ensures your reviewing the correct location.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 31
Karma: 12
Join Date: Mar 2010
Device: Kindle 2, Kindle 3
|
Yep. Checked there too. It's set.
![]() Last edited by megachirops; 09-05-2010 at 08:51 PM. |
![]() |
![]() |
![]() |
#4 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,888
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
I'm using calibre 0.7.17
I just switched mine to copy, then I restarted calibre, then I selected 5 books went to bulk edit metadata, checked Automatically set Author sort, then clicked OK. I would have expected the Author field to be copied to the author_sort field but nothing changed. Put in a bug report here. |
![]() |
![]() |
![]() |
#5 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,888
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Last edited by DoctorOhh; 09-05-2010 at 09:10 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to right click on any author in the ta browser select manage authors and set the author sorts for each author.
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 31
Karma: 12
Join Date: Mar 2010
Device: Kindle 2, Kindle 3
|
Ok, that did it, thanks!
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,318
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Except in rare cases (which do not include edit metadata), when the author_sort field is automatically built, the process is as follows: Code:
A) Clear (empty) the book's current author_sort value. B) For each author of a book, in author order: 1) Look up that author in the database. 1.a) Author exists -- retrieve his/her individual author_sort string 1.b) Author does not exist. 1.b.1) Add the author 1.b.2) Compute that author's author_sort value, taking the tweak into consideration 1.b.3) Save the computed value in the database with the author 1.b.4) pass the computed value to the next step 2) add the retrieved individual author_sort to the end of the book's author_sort, separated by ' & ' C) Write the book's new author_sort value to the database After changing the tweak, you should open the manage authors dialog and click 'Recalculate all author sort values'. Calibre will do what you ask, taking the tweak into consideration. Next, scan down the list to see if any authors have the wrong value, which will depend on how you want to handle sorting of complex last names. For example, some people prefer 'von Braun, Werner' to be sorted under 'v', while others want it sorted under 'B'. |
|
![]() |
![]() |
![]() |
#9 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,888
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Aug 2010
Location: Ontario Canada
Device: Kindle 2; Kindle WIFI 6";IPAD 2
|
Hi I am still doing something wrong, I have used Author manager, pressed the reset author sort and yet it does not seem to reset all my authors
Originally I brought in the Author as unknown; I then changed the Author Name Example Anne Marie Winston if I go to Individual metadata it shows Author Name and in Author Sort still shows unknown, I would assume I forgot to click the little arrow next to update author sort.. I go in Manage Author the author does not appear, assume this is why the recalculate all author sort values does not work. suggestions please for bulk address sort update |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,318
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#12 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Aug 2010
Location: Ontario Canada
Device: Kindle 2; Kindle WIFI 6";IPAD 2
|
okay I figured out how to get it fixed, instead of opening manage authors, I selected all the books and used bulk metadata update and checked automatically set author sort.
|
![]() |
![]() |
![]() |
#13 |
Enthusiast
![]() Posts: 31
Karma: 12
Join Date: Mar 2010
Device: Kindle 2, Kindle 3
|
Thanks for the detailed explanation. I think that pretty much explains everything (in my case at least). I ran the new version at least once without the tweak in place which presumably caused the database to be filled with the un-tweaked author_sort values for the existing authors.
cheers! |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Showing author_sort column in main grid | LARdT | Calibre | 3 | 09-20-2010 03:26 AM |
Am I missing something here? | SavalBork | Alternative Devices | 3 | 08-27-2010 09:17 PM |
Hello, this is what I've been missing. | Elimad | Introduce Yourself | 10 | 06-24-2010 08:06 PM |
Missing covers, missing content. Getting worse with each sync. | Mememememe | Kobo Reader | 7 | 06-16-2010 09:02 AM |
What am I missing here? | SoonerGirl | ePub | 3 | 01-08-2010 07:56 PM |