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 12-02-2019, 05:20 AM   #1
Crusher
Enthusiast
Crusher began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jul 2011
Device: Samsung Galaxy Tab
Is {author_sort} editable?

When saving a book to disk or device you get the root folder {author_sort} in the format "McDonald, Ed" - is there any way to change it to "Ed McDonald"?

I have already tried to modify the "Author sort name algorithm" in Tweaks to author_sort_copy_method = u'fn ln' but that doesn't seem to do the trick.
Crusher is offline   Reply With Quote
Old 12-02-2019, 09:15 AM   #2
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: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
If you want {authors}, why use the sort value template?

<OK some background>
Changing many of the settings in Preferences are:
1) Future use Defaults and do not affect any current usage (Previously stored Values).
2) Future NEW DEVICE use (the first use takes a snapshot of these). If the device has been used, the settings for that device are kept separately. Attache the device: right click the devise icon (when it appears): Configure. That only affects THAT device (these are stored in the config folder)
3) Some settings are Per Library (and are stored inside the Library DB). Switch Libraries and you may see differences. eg Custom columns are a per-Library setting.

<back to the Q>
Right click in the Authors list IN THE Tag Browser: manage

See the buttons at the bottom. Those are for global sort rule change recalculations.
You can FIX individual authors by making corrections and adjustments. This one place affects all use of that name in 1 go!
theducks is offline   Reply With Quote
Advert
Old 12-02-2019, 02:59 PM   #3
Crusher
Enthusiast
Crusher began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jul 2011
Device: Samsung Galaxy Tab
Correct me if I am wrong but this option isn't for editing the name of authors inside Calibre?
What I was looking for was for when saving on main HDD or adding a book to Calibre the Author main folder to be automatically named in the format "Last Name First Name" like "William Gibson" or "Neil Gaiman" and not "Gibson, William" like it's happening now.
Crusher is offline   Reply With Quote
Old 12-02-2019, 03:21 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Crusher - the formation of the file names Saved is determined by the Save template in Preferences->Save to Disk.

Similarly the formation of the file names Sent is determined by the Save Template in Preferences->Send to device, note that this can be overridden for specific devices in the Device Configuration settings.

If you use the {authors} in a template you should get "Ed McDonald".

BR
BetterRed is offline   Reply With Quote
Old 12-02-2019, 05:06 PM   #5
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: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I don't believe you can change the Library file structure in any way.
It is always the same, the various setting change the DISPLAY and the device
theducks is offline   Reply With Quote
Advert
Old 12-02-2019, 06:32 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,338
Karma: 168808725
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by theducks View Post
I don't believe you can change the Library file structure in any way.
It is always the same, the various setting change the DISPLAY and the device
You can make lots of changes in the library file structure. The real question is how badly those changes will break calibre.
DNSB is online now   Reply With Quote
Old 12-02-2019, 06:42 PM   #7
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by Crusher View Post
When saving a book to disk or device you get the root folder {author_sort} in the format "McDonald, Ed" - is there any way to change it to "Ed McDonald"?

I have already tried to modify the "Author sort name algorithm" in Tweaks to author_sort_copy_method = u'fn ln' but that doesn't seem to do the trick.
Afaik, the only allowed values for that tweak are:

invert
copy
comma
nocomma

That said, you probably want to leave that as comma. What you need to change are the preferences for "Save to disk" and "Send to device template".

Default is:
Code:
{author_sort}/{title}/{title} - {authors}
You wanna change that to:
Code:
{authors}/{title}/{title} - {authors}
ilovejedd is offline   Reply With Quote
Old 12-02-2019, 06:43 PM   #8
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Crusher View Post
When saving a book to disk or device you get the root folder {author_sort} in the format "McDonald, Ed" - is there any way to change it to "Ed McDonald"?

I have already tried to modify the "Author sort name algorithm" in Tweaks to author_sort_copy_method = u'fn ln' but that doesn't seem to do the trick.
Quote:
Originally Posted by Crusher View Post
Correct me if I am wrong but this option isn't for editing the name of authors inside Calibre?
What I was looking for was for when saving on main HDD or adding a book to Calibre the Author main folder to be automatically named in the format "Last Name First Name" like "William Gibson" or "Neil Gaiman" and not "Gibson, William" like it's happening now.
In the description of the "Author sort name algorithm" in Tweaks, it lists the values you can use. From memory, you want "copy".

And if you want to do this for just one book, you can set the author sort to what ever you want in the the metadata editor for the book. Or, you can set it for the author across the library using the "Manage Authors" tool.

Otherwise, the library directories should usually be treated as a blackbox. Calibre maintains them as it needs to maintain them. If you want books elsewhere in another format, such as on the device, you the save-to-disk or send-to-device templates to set the filenames as you want.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Assess if a pdf file is editable RotAnal Plugins 3 06-06-2018 06:54 PM
editable custom columns? blaenk Library Management 9 07-03-2015 03:55 AM
Need Text extraction engin from editable PDF qsipl Workshop 17 05-23-2014 07:26 PM
Creating a standard editable format ebooks-love Calibre 9 01-15-2012 06:52 PM
User-Editable HTML in Templates? marcot Calibre 0 06-15-2010 09:19 AM


All times are GMT -4. The time now is 12:49 PM.


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