Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-07-2020, 02:39 PM   #1
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Change authors format during add if no comma

Hi,
When i add a book , often the format for authors is "<first_name> <name>" and the authors sort is good : "<name>, <first_name>"

But i want my authors with the same format than authors_sort.
Have you an idea to convert the field authors when i add a book if a comma doesn't exit and do nothing otherwise ?.

Thanks for your help

(sorry for my bad english)
Doum is offline   Reply With Quote
Old 07-07-2020, 02:56 PM   #2
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Firstly i tried to add a rule (preference/add action) like
change authors when regex like ~(.*)\s{1,}(.*)" AND not authors:"," whit authors_sort

But it's doesn't work :/
Doum is offline   Reply With Quote
Advert
Old 07-07-2020, 07:54 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,003
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
The Quality Check plugin has:
1) test for commas (or none)
2) a FIX to flip the selected results

I know, this is after the fact , but it work and is fairly fast
theducks is offline   Reply With Quote
Old 07-08-2020, 04:41 AM   #4
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Yes Quality Check Plugin is great but i would prefer an arrow to copy authors_sort to authors as we already have one for authors to authors_sort.
Doum is offline   Reply With Quote
Old 07-08-2020, 05:04 AM   #5
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,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Doum View Post
Yes Quality Check Plugin is great but i would prefer an arrow to copy authors_sort to authors as we already have one for authors to authors_sort.
If the arrow you mention is in the Edit Metadata screen then there is already a way to copy author_sort to author. Right-click on the Copy button and choose "Copy author sort to author".

Also, in the Manage Authors dialog (right-click on Authors in the tag browser, choose Manage Authors) there is a button to copy author_sort to author for all authors.

Last edited by chaley; 07-08-2020 at 05:08 AM. Reason: Added Manage Authors
chaley is offline   Reply With Quote
Advert
Old 07-08-2020, 09:25 AM   #6
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Quote:
Originally Posted by chaley View Post
If the arrow you mention is in the Edit Metadata screen then there is already a way to copy author_sort to author. Right-click on the Copy button and choose "Copy author sort to author".
yes , thanks . It's not automatique when i add a book but i didn't see that . Goof tip .
Doum is offline   Reply With Quote
Old 07-08-2020, 12:10 PM   #7
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,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
You can automatically change authors on added books using the "Rules to manipulate author names" in Preferences / Adding books / Adding actions tab / Control how authors are processed. The rule shown in the screen capture will change any author of the form "letters-without-comma surname" to "surname, letters-without-comma".

This rule will produce the wrong answer for any name with a suffix such as Fred Flintstone PhD (result: PhD, Fred Flintstone). It will also get the wrong answer for names with two part surnames such as Charles De Gaulle (result: Gaulle, Charles De). You will certainly want to inspect the authors to see if the result is what you want. For that reason I probably wouldn't use the rule at all, manually correcting authors in Edit Metadata.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.png
Views:	113
Size:	10.7 KB
ID:	180487  
chaley is offline   Reply With Quote
Old 07-11-2020, 04:24 AM   #8
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Quote:
Originally Posted by chaley View Post
You can automatically change authors on added books using the "Rules to manipulate author names" in Preferences / Adding books / Adding actions tab / Control how authors are processed. The rule shown in the screen capture will change any author of the form "letters-without-comma surname" to "surname, letters-without-comma".

This rule will produce the wrong answer for any name with a suffix such as Fred Flintstone PhD (result: PhD, Fred Flintstone). It will also get the wrong answer for names with two part surnames such as Charles De Gaulle (result: Gaulle, Charles De). You will certainly want to inspect the authors to see if the result is what you want. For that reason I probably wouldn't use the rule at all, manually correcting authors in Edit Metadata.
Perfect !!! Great thx .
For rares case where this rule is false , i can manage manually .

You'r the best
Doum is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with custom column format string to force a comma jecilop Library Management 6 01-11-2023 08:22 PM
Authors shelves hates comma catimini Kobo Reader 29 06-02-2021 06:52 PM
Change comma delimiter to semicolon in tags? woodr2011 Library Management 10 09-21-2015 10:36 PM
Change Format Order? Default Format View? tgwdnghn Library Management 9 09-05-2015 04:02 AM
Add authors without replacing the old ones Viritys Library Management 0 02-10-2014 11:11 AM


All times are GMT -4. The time now is 07:19 AM.


MobileRead.com is a privately owned, operated and funded community.