View Single Post
Old 10-07-2014, 03:06 PM   #610
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by MiniMouse View Post
Dealing with templates and regex I learned by now.
Now it seems I have to learn something new... again. I think the last option could be more my solution BUT where do I put something like this? Never have done that before. Now I need a bit more information

Mini
Scripts like my last alternative do not go anywhere in calibre. Instead they are "command line" utilities that you run whenever you wish. If the script is in the file "foo" then to run it you would first ensure that calibre is not running then use
Code:
calibre-debug -e foo /path/to/your/library
One reason that these scripts can be very fast is that they can process the entire library at once instead of processing it book-by-book. For example, the script I provided computes the value of the target column for all the books then uses the calibre API to write all the books at once.

These scripts are not the easiest thing to understand, especially if you are not a programmer. If you want to try to use it or something like it, feel free to ask questions.

Do note that it might be easier in the long run to change the ini file of the fanfic downloader.
chaley is offline   Reply With Quote