Use cached_property for show_reset_at
It's called multiple times in same iteration, so.
MODIFY
plextraktsync/media.py
plextraktsync/media.py
@@ -57,7 +57,7 @@ def trakt_url(self):
def show_trakt_id(self):
return getattr(self.trakt, "show_id", None)
- @property
+ @cached_property
def show_reset_at(self):
watched = self.trakt_api.watched_shows
return watched.reset_at(self.show_trakt_id)

Use cached_property for show_reset_at

It's called multiple times in same iteration, so.