Feature Request: Dynamic Additions/Removals #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Not sure if this is outside of your minimalist approach, but it would be cool to have ComicOPDS support the ability to incrementally add/remove files. Maybe I'm mistaken, but it seems like if I want to add one file to a existing library of 20k files, I have to initiate a full re-scan?
Maybe the additions wouldn't have to be automatic, seems that a manual update would be fine.
Either way, I realize this is a non-trivial request.
One ancillary bonus from this would be a new smart list sort-by "Library Added Time" ability, which always a useful feed to have.
So, heh, I had a closer look at the docs, and found:
ENABLE_WATCH false Optional Watch filesystem for changes and update index incrementally. (true/false).I added setting this to "true" in my docker compose file, but it doesn't seem to do anything if I add or remove files.
So I guess not a feature request now and either a user error, or a bug?
Maybe relevant that the host OS is Ubuntu 24.04.3 LTS.
Hey! I've implemented the filesystem watcher feature in
ad5c7b05be. It monitors your Comics directory in real-time and automatically updates the index when you add, modify, or delete files. What's working:Quick note: I had implemented and tested this in my pre-release environment, but it looks like I must have lost a commit somewhere along the way before pushing to the repo. I've now recreated the implementation with all the fixes we worked through (threading issues, deletion handling, logging visibility, etc.). You'll see a green "Watch (N)" badge that shows how many file changes happened in the last 5 minutes, and it automatically resets as events age out.
You can test it on the
devbranch right now and it will be released with version 1.1