I have just posted an update for the plugin. This is the official release of the change to the "Order Series Shelves" function.
The change extends what shelves can be ordered. As well as shelves whose name matches the series name, others can be as well. The groups of shelves that can be ordered are:
- Series - works like the current version
- Authors - Looks for shelves with the same name as authors
- Others - Shelves that don't fit into either of the above groups
- All - All shelves
A well as the type of shelves, there is an extra sort option. The shelves can be sorted in publication date as well as series.
With these changes, there has been a change in how this works. Instead of populating the list of shelves when the dialog opens, you need to select from the type of shelves at the top and then press the "Get shelves" button next to them. The plugin will then get the list of shelves and show them with the number of books in each shelf.
After this, it works the same as before. You can select shelves and remove them from the list. Then you choose the options at the bottom and press the OK button to update the database.
With this, I have added something in the sorting. The previous sort was simply based on the series index as all books were assumed to be in the same series. But, with the other options, this isn't the case. The sorting uses series name, series index and then title. For books not in a series only the title will be used. That means that books in a series will be together, but books not in series could be between the series. Also, there is no playing with the titles or series names. The sorting is on the name in the database and doesn't remove any articles at the beginning of the name.
Sorting by the publishing date requires that to be populated for each book. Within the date, the books are order by title. If the publishing date is not set, just the title is used. As the firmware does not read the publishing date from sideloaded books, you will need to set this using the "Update metadata in device library" to set this properly.
Note: This is only useful for firmware versions that the "Date Added" sort works. The last one it did was either 3.1.1 or 3.2.0. Later versions do not sort correctly.
As usual, calibre will notify you of the update in the next hour or so. And any comments, suggestions and bug reports are welcome.