View Single Post
Old 12-06-2010, 04:12 PM   #40
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,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Glubbish View Post
Hi Chaley.
I am jumping on this thread as I have much the same problem
ie:
on the sony:
- collections are sorted correctly, series in order (when sorted by title)
- books (list all) shows series out of order (when sorted by author)
Thanks for posting the debug log. What you describe and what the debug output shows makes sense, mostly. Unfortunately I don't have a 650 (or an anything 50), so I can't be sure what is happening.

First note: calibre controls directly only the order of collections, and it seems that setting the tweak had the intended effect. The order of the other lists is controlled by the Sony, and the collections order tweak won't have any effect on them.

As regards the non-collections lists, I imagine that the *50 devices use the title_sort attribute in lieu of title when sorting. I note that your plugboard sets title, but it does not set title_sort. Are the books lists (not collection) sorted by the original title, perhaps with the leading articles removed? If so, that is evidence that my impression is correct.

If I am right -- the 650 is sorting by title_sort instead of title -- then you should be able to fix it by try adding a plugboard line that sets title_sort to the same value as title. My 300 throws title_sort away so I can't test this, but it is very easy to imagine that this will fix your problem. If #sony_sort is set to [u'{series}{series_index:0>2s| - | - }{title}', u'title'], then the plugboard could be [{#sony_sort}] -> title_sort instead of using the longer sequence.

Let me know what happens.
chaley is offline   Reply With Quote