neonrust / epm

Command-line TV episode calendar/manager/scheduler/tracker (EPisode Manager)
MIT License
0 stars 0 forks source link

Keep track of update frequency and back off on refresh if low #15

Closed neonrust closed 1 year ago

neonrust commented 2 years ago

Tricky part is when and how much to back off.

One way could be to keep a list of dates of the last N updates and if that frequency (e.g. updates/day) exceeds some threshold back off by some fraction of that.

The goal is to back off more and more as the updates gets less and less frequent.

Extreme example could be that if the series hasn't been updated for a year, don't refresh for 6 months.

neonrust commented 2 years ago

There should probably be an upper limit, like 2 weeks or something.

neonrust commented 2 years ago

Removed the 'low-prio label. This is actually a bit annoying. It also gets more annoying when the number of series goes up.

neonrust commented 1 year ago

This is working fairly well since be21e11. I think we can close this. If any need for enhancements crop up, a new issue should be created for that.