View Single Post
Old 12-04-2015, 04:56 PM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,825
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
If you want to auto add books use Preferences->Adding Books->Auto add from folder

If you want to add books via script, use

calibredb add

*Do not* ever copy files into the calibre library folder and try to use check/restore library to add them.
Quote:
Originally Posted by umbighouse View Post
How often is the folder checked to Auto Add new items?

Does "calibredb add" simply scan for new items and add them?

Thanks.
@umbighouse - When a file arrives in my auto-add folder and calibre is running, the file is 'added' to the currently open library and removed from the auto-add folder more or less immediately - i.e. in the blink of an eye. If calibre is not running the contents of the auto-add folder are dealt with the next time calibre starts.

I don't know (or care) if calibre 'polls' the folder or uses the equivalent of inotify - but I suspect it maybe the latter.

The downside of using Auto-add is if you have the wrong library open when the file arrives in the auto-add folder then the file will be added to the wrong library.

A 'nice-to-have' refinement would be to have an option to give each library a dedicated auto-add folder (probably with a fixed name) - eg "MyLibrary/$$Autoadd".

BR
BetterRed is online now   Reply With Quote