neonrust / epm

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

should_update() is only called for filtered/displayed series #24

Closed neonrust closed 1 year ago

neonrust commented 1 year ago

e.g. running epm unseen will only call should update() for series that actually have unseen episodes.

This means that if a series has no released and unseen episodes at one point, unseen will not displayit. Then, if there later are new episodes released, unseen will never list it, because its entry in the database will never get refreshed.

It should actually be called for all series.

So, it is probably better to just call it directly from db.indexed_series(), which is called for all series and all views.

neonrust commented 1 year ago

I guess this means that this logic should be reverted to what it was at first :) Then, the various view commands would just refresh all before selecting series to show.