View Single Post
Old 05-13-2022, 05:17 AM   #856
MikePatch
Member
MikePatch began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2021
Device: Kobo Libra 2
Quote:
Originally Posted by un_pogaz View Post
Hey, a make a module.
The purpose of this module is to update the title and/or author sorting key, like the options in the Bulk Metadata dialog, options that are unavailable via Action Chains (I won't open the huge Bulk Metadata dialog just to check the same 2 options everytime => go on to make a non-interactive module).

I remember you had created a thread to reference different user modules (and other event managers), but I couldn't find it.
If it exists, it would be nice to have an explicit link in the description (so that we can look for it before breaking our heads to do things ourselves, especially if we don't understand anything in code)

Here is the code of the module:
EDIT: code moved into the dedicated thread
I'm getting this message adding you code
"calibre, version 5.42.0
ERROR: Invalid Python code: The code you created is not valid Python code, with error: 'NoneType' object has no attribute 'split'"

Could you please help me?

MP
MikePatch is offline   Reply With Quote