View Single Post
Old 01-24-2012, 11:00 AM   #4
OtherOkyay
Junior Member
OtherOkyay began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2012
Device: Acer Android Tablet
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.
OtherOkyay is offline   Reply With Quote