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 03-22-2018, 01:26 PM   #16
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,851
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Series names are interpreted for sorting according to book language. That is the correct, intended behavior. If you dont understand why, look up how sorting rules vary across languages.

If you have a single series with books in multiple languages, set the first language for all the books to be the same, then all the books in that series will sort as you expect.
kovidgoyal is offline   Reply With Quote
Old 03-22-2018, 01:45 PM   #17
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 536
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Quote:
Originally Posted by kovidgoyal View Post
Series names are interpreted for sorting according to book language. That is the correct, intended behavior. If you dont understand why, look up how sorting rules vary across languages.

If you have a single series with books in multiple languages, set the first language for all the books to be the same, then all the books in that series will sort as you expect.
But then I would be putting wrong data into metadata for single books.
If I have two books in italian and the third in english (I actually have, for a series), and I put into metadata for this third book that it is in "Italian, English"... Then I would be saying that the book is in italian, while it isn't. It would show up in searches I do for books in italian, and that is wrong.

I understand that this is not a bug but the intended behaviour - Teriza's suggestion already made it clear. But it doesn't feel "correct" to me from the logical point of view.
If books are considered to be in the same series (and they are, for calibre shows them all together), then they should have the same series sorting because... again, the series is the same.

I understand that it is tricky to decide which rules to follow; a workaround would be to let the user customize it like you do with the author_sort field; and yes, I understand that it is also hard to introduce the series_sort field into the code now... fine.
But I think the way this subject is handled is not completely right.
Ruskie_it is offline   Reply With Quote
Advert
Old 03-22-2018, 02:25 PM   #18
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
It is maybe worth to check the internal sorting rules when multi language cause problems.

I use strictly_alphabetic instead of library_order what is the default setup for title and series.
Divingduck is offline   Reply With Quote
Old 03-22-2018, 02:37 PM   #19
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 536
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Quote:
Originally Posted by Divingduck View Post
It is maybe worth to check the internal sorting rules when multi language cause problems.

I use strictly_alphabetic instead of library_order what is the default setup for title and series.
Hi Divingduck, thanks for the suggestion. I don't know how can this be checked by users, though. Could you please show it?

Thanks!
Ruskie_it is offline   Reply With Quote
Old 03-22-2018, 02:45 PM   #20
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Preferences -> Tweaks -> Control sorting of titles and series in the library display (ID: title_series_sorting)
Divingduck is offline   Reply With Quote
Advert
Old 03-22-2018, 02:56 PM   #21
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: 29,799
Karma: 54830978
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 Ruskie_it View Post
I knew that, that's where I went trying to fix my friend's "error".
But there is nothing, there, to change seriers sort.
You can manage author_sort with right click on an author name:Manage.
Not with series. There, "series sorting" is hidden.


I should have Visually checked, before posting.

there are tweaks that set the overall sort rules, and per_language_title_sort_articles
theducks is offline   Reply With Quote
Old 03-22-2018, 03:02 PM   #22
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: 29,799
Karma: 54830978
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 Ruskie_it View Post
But then I would be putting wrong data into metadata for single books.
If I have two books in italian and the third in english (I actually have, for a series), and I put into metadata for this third book that it is in "Italian, English"... Then I would be saying that the book is in italian, while it isn't. It would show up in searches I do for books in italian, and that is wrong.
I think this might work

This is only temporary

Set a common language,
Set the series data,
save


now fix the language
save
Calibre does not recompute the previous sort for data that has not changed (eg series
theducks is offline   Reply With Quote
Old 03-22-2018, 03:06 PM   #23
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
There an additional called Language to use when sorting (ID: locale_for_sorting). I don't use it but maybe worth to check too
Divingduck is offline   Reply With Quote
Old 03-23-2018, 03:59 AM   #24
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 536
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Quote:
Originally Posted by Divingduck View Post
Preferences -> Tweaks -> Control sorting of titles and series in the library display (ID: title_series_sorting)
Thanks!
Found it. Ironically - and I don't remember when I changed it - I already have it set to strictly alphabetic for sorting when SAVING.
Now, I am not sure I like this solution. Actually no: it is a good solution, it's just me being picky because now I know calibre does something not the way I want. :P

While browsing the tweak, I found another one that might be used as a workaround: locale_for_sorting = 'IT' (or whatever you want). This way you force calibre to use always the same locale for sorting, I guess.
Ruskie_it is offline   Reply With Quote
Old 03-23-2018, 04:00 AM   #25
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 536
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Quote:
Originally Posted by Divingduck View Post
There an additional called Language to use when sorting (ID: locale_for_sorting). I don't use it but maybe worth to check too
Ooops, read too late.
Ruskie_it is offline   Reply With Quote
Old 03-23-2018, 04:17 AM   #26
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 536
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Quote:
Originally Posted by theducks View Post
I think this might work

This is only temporary

Set a common language,
Set the series data,
save


now fix the language
save
Calibre does not recompute the previous sort for data that has not changed (eg series
Tried this, unfortunately it doesn't work.
I set a common language, Italian, and the order got displayed correctly. I set the series data, fine.
I changed books languages, and so far so good, the order in display did not change, as you suggest.
But then again, as soon as you sort the books once again, the series ordering gets back to the "faulty" one.
Ruskie_it is offline   Reply With Quote
Old 08-13-2018, 02:17 PM   #27
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
Series names are interpreted for sorting according to book language. That is the correct, intended behavior.
The annoying fact is that the "series sort" virtual field is not visible anywhere, and cannot be changed. For a title, one can manually change it if for some reason something different is wanted, and the only drawback is that it appears in red in the edit metadata dialog. But for a series there's no way to "fix" it. I would very much like a real "series sort" field or something similar. It would also help for cases where the auto-guess is not correct (as in French, where "de" could be an article, or maybe not).

For the record, another workaround is adding the foreign article word to the "per_language_title_sort_articles" tweak. I guess in most cases side effects would be minimal.
Jellby is offline   Reply With Quote
Old 08-13-2018, 06:53 PM   #28
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: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Jellby - 'series sort' only visually virtual; it's stored in the series table in the metadata database, viz:

Click image for larger version

Name:	1.jpg
Views:	116
Size:	21.6 KB
ID:	165552

Suggested Enhancement: make it editable in Manage Series, like author_sort is in Manage Authors.

BR
BetterRed is offline   Reply With Quote
Old 08-13-2018, 07:25 PM   #29
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: 29,799
Karma: 54830978
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 BetterRed View Post
@Jellby - 'series sort' only visually virtual; it's stored in the series table in the metadata database, viz:

Attachment 165552

Suggested Enhancement: make it editable in Manage Series, like author_sort is in Manage Authors.

BR
+1

And while K is messing around with 'Manage"

Could we please have the 'Case' tools available (in all sections) to fix those that are imported in poor condition
theducks is offline   Reply With Quote
Old 08-14-2018, 02:57 AM   #30
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by BetterRed View Post
@Jellby - 'series sort' only visually virtual; it's stored in the series table in the metadata database
However, it looks like this "sort" field is unused. If I have two books in the same series, with different languages, they will have two different effective "series sort". But being in the same series, there's a single entry in the series table, therefore they must be using something different from the "sort" field.
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Handling KFX files in Calibre HarryT Conversion 53 08-31-2018 03:21 AM
Series renaming (bug?) Athanor66 Library Management 4 08-18-2017 05:28 AM
CALIBRE vs iPad image handling Sail_Dive_&_Fly Calibre 4 01-13-2014 04:40 AM
Handling of series metadata derangedhermit ePub 7 11-22-2013 10:31 AM
Handling chronological order of multiple series DMee Library Management 3 08-31-2011 04:17 AM


All times are GMT -4. The time now is 10:35 PM.


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