Beta - Template editor
Attached is a beta for the plugin with changes in how the comments and subtitles are handled. The changes are to add an entry field for the two templates. Each template also has a button to open the calibre template editor.
The existing template for the comments is still supported. If it exists and no template is entered in the dialog, the template from the file will be used. One important thing here is if the results of evaluating the template is empty, the unchanged comments from the calibre library will be used.
For the subtitle, using a template will give more flexibility for what it can be set to. If you just want a custom column, the the template is "{#custom_column_name}". And if the template evaluates to an empty string, the subtitle will be cleared. So, if you simply want to remove the subtitle, leave the template empty.
As usual, please test and tell me if there are any problems.
|