Tags can be updated manually, but I think it will be tedious. There are tens of
nested directories with hundreds of books, already categorized nicely. Maybe
it is possible to accomplish this automatically.
I was looking at the simple HelloWorld plugin based on FileTypePlugin. I
changed on_postprocess to on_import so that it gets called when a book
is imported.
However when I added a simple line print "Hello", I got a syntax error.
I wanted to print path_to_ebook to see if that variable contains the path
to the book BEFORE or AFTER the import.
|