![]() ![]() ![]() The current book formats tested for are pdf, epub, mobi, azw, azw3 & chm. I attempted to account for folders that contain the source code for a book by testing if the folder name contains the word 'code', if the folder contains more than 10 items and if there is a pdf that has the words 'list' and 'hardware' or 'software'. If a selected folder contains at least one book, the books are added to the library and the folder is deleted to the recycle bin if supported. The selected files are iterated through and all files matching the book extensions are added. If the server is running, the option to allow unauthenticated local connections to make changes must be enabled for this to work. This script will test if the server and GUI are running and will terminate the GUI and restart if the server is off. The Calibre database cannot be modified directly from the command line when the GUI is running without the server. ![]() I thought I should share a button I made that adds book files and folders to the Calibre library whether the GUI or server is running. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |