View Single Post
Old 09-21-2025, 10:41 AM   #1
webysther
Junior Member
webysther began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2025
Device: kindle paperwhite
fswatch option over inotify

Hello everyone,

I’d like to suggest considering the use of fswatch in polling mode as an alternative to relying solely on inotify for monitoring the Calibre library folder for the option on "automatic adding".

The issue is that when the library is stored on a network-mounted folder (e.g., NFS, CIFS, or similar), inotify cannot detect file changes, since the kernel does not receive native filesystem events from these remote mounts. As a result, Calibre is unable to automatically pick up new books or updates in such environments.

Since fswatch supports a polling mode (periodic scanning) that works independently of inotify, it could be used in these network scenarios where filesystem events are unavailable. This would extend support for remote libraries and make it easier to manage Calibre when the database and files are hosted on shared network storage.

Would it be possible to consider integrating fswatch (with polling mode) as an optional, configurable alternative for monitoring library folders?

Ref.: https://github.com/kovidgoyal/calibr...ils/inotify.py
webysther is offline   Reply With Quote