Quote:
Originally Posted by chaley
Sorry, you also need this: calibre.utils.formatter_functions.py.
And no, the second version isn't suboptimal. The issue for me is that the behavior can seem "magic", but sometimes that is what one wants. 
|
Thank you, it is working properly now. Should make some changes to the plugin today. New version will not be released until a new calibre version with changes you made is released.
1. New action to add to chain variables maybe call it "Chain Variables". Suggestions on a better name are welcome.
2. Conditional execution of actions. Have not settled on how to this yet. It can be done with one template column OR two name/value columns.
Leaning towards starting with the former as a test version and see feedback. Still open to the other solution if people don't like the first one, I just think it gives more power to test multiple conditions.
Edit: Maybe a template/template_result pair. e.g "program: current_library_name()"/my_library1. If they match the action runs? same for "program: globals(myvar)"/myvar_val
Will initially call the template on the first selected book.