Open Arkyver opened 7 months ago
As described in the release note, directory will not trigger a scan during watch since v0.0.5.
This is because, unlike single files, it is difficult to determine when the contents of this directory have been completely created. Therefore we cannot accurately count some metadata, such as page count. I'll try to re-enable it once a good solution is available.
Before that, you can try some manual ways to trigger a scan: https://comiclib.github.io/comiclib/en/scan%26watch/
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: https://github.com/ComicLib/comiclib/blob/f82bec4f3acaf7de61c7b6ff93a7cfd211c0fcc6/comiclib/scan.py#L111Because the scanners such as
22-ehviewer.py
require the parent directory path of the image files, thescan
will skip them when is invoked with a path to image files. Is this modification intended to address other issues?