Thank for the reply, it works but has the following problem.
Unfortunately if it's run without first closing Calibre (easy mistake to make) then it throws a error after the conversion and stops before adding to the db, running again to add the kepubs to the database fails presumably because the date/time check fails the date of the previously converted books. Also converting a large number (tested with 100 books), some must fail the date/time check because not all are added to the database. The only way I found to recover from this is to run the original script.
If you find time to look in to this, can I suggest running kepubify in "verbose" mode may be a way forward, the log this produces lists the converted books which need to be added to the db.
|