View Single Post
Old 09-10-2018, 07:31 AM   #14
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,016
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by kovidgoyal View Post
calibre already uses a file notification interface to watch the directory (not individual files as that is pretty expensive). So when you touch a file, calibre will rescan the directory.

But, as I sai dbefore if you want to see why the files are not being added, run calibre in debug mode, IIRC it prints out a fair bit of logging for auto add.
inotify is suppose to be designed to be cheap even for large numbers of files, but I can see using it here being more bother than perhaps it is worth.

Next time I have a file that isn't autoimporting, I'll see if I can start calibre in debug mode, but I suspect restarting it might cause the files to be imported anyway, so it might take a couple of tries to figure out exactly how to trigger it.
compurandom is offline   Reply With Quote