![]() |
#1 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
![]() |
Tags |
network drive |
|
![]() |
||||
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 |