AnisearchKomga icon indicating copy to clipboard operation
AnisearchKomga copied to clipboard

Use a Listener to Track Newly Added Manga

Open CardcaptorRLH85 opened this issue 2 years ago • 2 comments

Here's another feature request if you'd like, is there a way to have this addon listen for newly added manga rather than running it manually every time I add something to my library? That would be a "nice to have" type of addition. Especially for people who have very large libraries.

CardcaptorRLH85 avatar May 16 '22 18:05 CardcaptorRLH85

If you are using docker, I think you could achieve this using KEEPPROGRESS=True and restart: always in the docker-compose.yml. This should restart the container every time it finishes and only update new entries, which is basically like a listener. Otherwise I could add a new flag DAEMON=true or something, which, if set, goes back to the beginning after finishing and parses new metadata in a loop. For this, KEEPPROGRESS would have to be set so it doesnt run into a ratelimit. Is this sufficient?

I dont think a real listener would be possible, as I can only get a list of all entries, its afaik not possible to get notified on a newly added entry

Pfuenzle avatar May 18 '22 14:05 Pfuenzle

The daemon idea seems like it would do what I want it to do.

CardcaptorRLH85 avatar May 18 '22 21:05 CardcaptorRLH85