View Single Post
Old 10-15-2013, 01:06 AM   #315
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
Update to Kobo Utilities plugin - V1.4.0

I have just updated the plugin with one new function and a couple of smaller changes. They are:
  • New: For shelves that match a series name, change the date added to order by series order.
  • New: Add "Lock margins" checkbox to reader settings to set the right margin the same as the left
  • New: Add "Update config file" checkbox to reader settings to write the options to the "Kobo eReader.conf"

The main change is the shelf sorting for series. What this does is to use the "Date Added" sort in shelves for the series order. After the new function is used, go to the shelf on the device and select "Date Added" and the books will be displayed in series order. Or reverse order if you chose that.

When you select this function in calibre, it displays the list of all shelves on the device whose name matches a series. It also displays the number of books on the shelf for the series. You can remove shelves you don't want to sort from the list, and set whether you want them in ascending or descending order. Once you have done this, press the OK button to make the changes. The plugin will go through each shelf on the list, and change the timestamp stored for the "Date Added" to put the books in the desired order.

Not all the books on the shelf will be sorted. The rules used are:
  • Any book on the shelf that doesn't have a series name or has a different series name will be skipped.
  • If the book doesn't have a series number, it will be skipped.
  • The series_number in the database is actually a string. Kobo usually use something like "#1", rather than just "1". Sometimes they use other strings. I have seen "#3 Part 1". The plugin uses the first number it can find for sorting. If a number can't be found, the book is skipped.

This works very will if you have the Kobo Touch driver or extended driver configured to set the series information and create shelves for the series.

As usual, calibre will notify you of the update in the next few hours. And if you have any problems with the plugin, please report them so I can look at them.
davidfor is offline