Cleanup Media.collected property
Unused after commit
MODIFY
plextraktsync/media.py
plextraktsync/media.py
@@ -102,15 +102,6 @@ def is_collected(self):
return collected.is_collected(
self.show_trakt_id, self.season_number, self.episode_number)
- @cached_property
- def collected(self):
- if self.media_type != "shows":
- raise RuntimeError(
- f"show_collected: Unsupported media type: {self.media_type}"
- )
-
- return self.trakt_api.collected(self.trakt)
-
def add_to_collection(self, batch=False):
self.trakt_api.add_to_collection(self.trakt, self.plex, batch=batch)

Cleanup Media.collected property

Unused after 7dea3ae84fe758daeeb39f96d38b8f560786e7c1 commit