View Single Post
Old 01-22-2018, 09:38 AM   #5
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Quote:
Originally Posted by hermann1514 View Post
OK. Thanks.

But i have another Problem wit the automatic Import. The first time the Import is working.
After that, if i moved files with a script to the import folder, calibre doesn't import them.
The i restart the Calibre the immport is running.

Is it a BUG?

Regards
Hermann
Hermann:

No, it is not a Calibre bug. Calibre uses Qt for the GUI etc. It also uses the Qt "QFileSystemWatcher" object to monitor changes to the auto-add directory that you specified. At Calibre startup, the auto-add always does its job. However, after Calibre has been running for a while, the watcher object sometimes does not emit a signal telling Calibre that it needs to perform an auto-add, especially if only a single book is placed into the auto-add directory. If you place a few books into your auto-add directory, it usually is sufficient to provoke a response from the watcher.

If you always are moving a single book into that directory, and continue to have this problem, as a workaround you could change your script to always copy a few "dummy" files (not ebooks) along with your "real" books, and then have it later delete your "dummy" files from the auto-add directory. That should tickle the watcher enough to provoke it.


DaltonST

Last edited by DaltonST; 01-22-2018 at 09:41 AM.
DaltonST is offline   Reply With Quote