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-27-2022, 11:14 AM   #1
CamilleBC
Junior Member
CamilleBC began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2014
Device: Poke 2
Author Sort per library

Hello! I would like to be able to change the author sort algorithm for each library I have.

As of now I have to: change library, change the author_sort algorithm, restart calibre, go to the author management tab, and click "Recalculate all Author sort values".

Not only is this very long, requires a restart and on more manipulation, it is also error prone, if I forget to do it when switching libraries or if I forget the algorithm I want.

Is there a solution and if not, is that a known problem?

Thank you very much!
CamilleBC is offline   Reply With Quote
Old 07-27-2022, 11:20 AM   #2
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: 46,243
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Out of curiosity, what in your multiple libraries requires a change in how you handle suffixes, prefixes and copy words in sorting authors?
DNSB is offline   Reply With Quote
Advert
Old 07-27-2022, 12:24 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,062
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 thought that was stored into the DB as the sorts only belong to that Library.

Or is the OP modifying rules (tweaks)?
theducks is offline   Reply With Quote
Old 07-27-2022, 01:01 PM   #4
CamilleBC
Junior Member
CamilleBC began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2014
Device: Poke 2
I might be misusing the feature but here is what I do.

I have an eReader that uses KoReader. When I send books to that device, it sorts them by authors in folders.

I use two libraries, one for regular books, one for RPG rule or source books.

Since I can't really easily navigate on the eReader (I have not found how to do so in KoReader), it's a lot easier for me to have all RPG for a certain system have the same author (all Pathfinder books will have Pathfinder as the author, all Call of Chtulhu books as well). For Call of Chtulhu, the normal author sort will make it Chtulhu, Call of. Though funny, this is not what I want.

Another solutions would be to be able to specify the folder created per device and per library, but I have not solved how to do that.

If any of you have a better way of doing what I want, I would love to hear it!

Thank you for you answers!
CamilleBC is offline   Reply With Quote
Old 07-27-2022, 01:20 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: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Templates (send to device) can do a lot.
Back when I started, my device only used folders (no bookshelf system)
Chaley helped me out.

To give you an idea (you could just use a Tag as a trigger instead)
Code:
# Calibre Send to Device 11/2013
program:test(field('series'),strcat(
substr(field('series'), 0, 1),template("-series/{series:subitems(0,1)||/}{series:subitems(1,2)||/}{series_index:0>5.2s}-{title}_{authors}")
),template("00noseries/{author_sort[0]}_authors/{authors}/{title}-{authors}_{id}")
)
What this did was separate Series and 00noSeries (top folders)
To keep things neater (no easy way to search )
I then created folders by first letter (for both Series or Authors) to narrow things down for easy location.

Not being familiar with KopReadr. Calibre also has a PLUGBOARD, the can do all sorts of stuff with standard metadata based systems (Does not affect the LIBRARY). eg prepend {series_index}-to Title
theducks is offline   Reply With Quote
Advert
Old 07-27-2022, 01:20 PM   #6
CamilleBC
Junior Member
CamilleBC began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2014
Device: Poke 2
Quote:
Originally Posted by theducks View Post
I thought that was stored into the DB as the sorts only belong to that Library.

Or is the OP modifying rules (tweaks)?
I'm modifying rules (tweaks), as I've not found any other place mentioning the author sort. Am I wrong and is it located somewhere else for a "per library" basis?
CamilleBC is offline   Reply With Quote
Old 07-27-2022, 01:51 PM   #7
CamilleBC
Junior Member
CamilleBC began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2014
Device: Poke 2
I will look into PLUGBOARD and check what I can do with them.

Thanks for the template, I did not think about separating series and non-series. That is a very good idea! :thank_you:
CamilleBC is offline   Reply With Quote
Old 07-27-2022, 04:07 PM   #8
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,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
templates allow you to insert literals (words and folders)
foo/{title}
foo is a folder

bar-{title}
is a title with bar- prepended

Between Kovid and Chaley, we have POWER to change
theducks is offline   Reply With Quote
Old 07-28-2022, 01:29 PM   #9
CamilleBC
Junior Member
CamilleBC began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2014
Device: Poke 2
Hey theducks!

I'd just like to let you know that I'm having fun with the templates now.

Templates and custom columns are stored per library, which allows me to create a specific send to device using, for example, a custom "#rpg_rulesystem" column, and using authors for their original purpose!

Thanks again!
CamilleBC is offline   Reply With Quote
Old 07-28-2022, 02:58 PM   #10
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,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by CamilleBC View Post
Hey theducks!

I'd just like to let you know that I'm having fun with the templates now.

Templates and custom columns are stored per library, which allows me to create a specific send to device using, for example, a custom "#rpg_rulesystem" column, and using authors for their original purpose!

Thanks again!
Have fun. I still find it amazing how many ways there is to use Calibre...
That Kovid thought of ways of doing.
theducks is offline   Reply With Quote
Old 07-28-2022, 07:10 PM   #11
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,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by CamilleBC View Post
Hello! I would like to be able to change the author sort algorithm for each library I have.

As of now I have to: change library, change the author_sort algorithm, restart calibre, go to the author management tab, and click "Recalculate all Author sort values".

Not only is this very long, requires a restart and on more manipulation, it is also error prone, if I forget to do it when switching libraries or if I forget the algorithm I want.

Is there a solution and if not, is that a known problem?

Thank you very much!
The JobSpy plugin has a number of Per Library settings that override the global defaults, viz:

Click image for larger version

Name:	Screenshot 2022-07-29 085541.jpg
Views:	284
Size:	168.7 KB
ID:	195413

Hover over the Tweak label for details on how to use, some require plugin specific tweaks, which are here:

Click image for larger version

Name:	Screenshot 2022-07-29 090314.jpg
Views:	80
Size:	180.0 KB
ID:	195414

I use the Tweak for Per-Library: 'Author Sort Copy Method':

Make sure you check the activate checkbox.

BR

Last edited by BetterRed; 07-29-2022 at 07:53 PM. Reason: reup images
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort by author and then publish date (multi-column sort)? badbob001 Library Management 7 07-22-2020 06:45 PM
Sort by Author doesn't then sort by title jmcging Library Management 7 07-02-2017 10:16 PM
'Title Sort' & 'Author Sort' Search/Report Funkybassman Calibre 3 04-17-2016 12:31 PM
Update 'title sort' and 'author sort' through CLI wladdy Library Management 1 07-16-2015 05:12 PM
Sort library by length of title (or author, etc) ? Rob557 Library Management 21 08-20-2012 04:59 AM


All times are GMT -4. The time now is 06:53 AM.


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