I've observed that since the release of v0.0.5, the changes in the content path no longer trigger a scan, which prevents new archives from being added to the database. This issue seems to stem from the fact that directory updates are now being excluded from the watchfiles in scan.py, as seen in this line of code:
|
for changes in watchfiles.watch(settings.content, watch_filter=lambda change, path: change in (watchfiles.Change.added, watchfiles.Change.modified) and Path(path).is_file()): |
Because the scanners such as 22-ehviewer.py require the parent directory path of the image files, the scan will skip them when is invoked with a path to image files. Is this modification intended to address other issues?