Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 09:41 AM   #1
webysther
Junior Member
webysther began at the beginning.
 
Posts: 2
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
Old Today, 10:30 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,514
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
inotify is not used for folder watching for auto add, its used for auto reload of the content server in develop mode. Folder watching for auto add is done by qfilesystemwatcher from Qt
kovidgoyal is offline   Reply With Quote
Reply

Tags
network drive


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
inotify-tools? neoberg Kobo Developer's Corner 6 04-13-2025 08:33 PM
Browser Option jukin Server 8 02-27-2021 05:22 AM
I need help and I do not see an option to contact someone. HLS Feedback 1 08-15-2020 08:44 PM
Wi-Fi off/on option in FW 4.1.0 anontemp123 Amazon Kindle 0 10-20-2013 02:09 PM


All times are GMT -4. The time now is 03:45 PM.


MobileRead.com is a privately owned, operated and funded community.