kaizoku icon indicating copy to clipboard operation
kaizoku copied to clipboard

Setting for clearing mangal cache at an interval

Open vodkapmp opened this issue 1 year ago • 5 comments

Feature Description

Mangal seems to sometimes need a cache clear for it to pick up new chapters. See Mangal issue: https://github.com/metafates/mangal/issues/161

Since Kaizoku is a downloader and doesn't really need the cache (since we're not browsing manga) it would make sense to have a setting that regularly clears this cache.

I've noticed that a good amount of my manga will stop getting updates because of this cache needing to be cleared. I have a cronjob that stops kaizoku and clears the /.cache/mangal/ folder, and the /tmp/rod/user-data/ (for mangasee) folders, and doing this has solved the issue for me.

After I noticed two mangas I knew had new chapters weren't downloading them, I deleted the cache folder, and over 20 of my mangas got multiple new chapters. I checked a random selection of these and all of them had new chapters that were 3+ weeks old. For multiple different sources (manganato, mangapill, and manganelo)

Solution you would like

A setting for kaizoku that will at x interval, or before every check for new chapters wipe out all files in /.cache/mangal/ and if mangasee /tmp/rod/user-data/

Alternatives you have considered

No response

Additional context

No response

vodkapmp avatar Apr 15 '23 10:04 vodkapmp