Catch internal error when episode show is referred
MODIFY
plex_trakt_sync/media.py
plex_trakt_sync/media.py
@@ -42,6 +42,8 @@ def trakt_url(self):
@property
def show_trakt_id(self):
+ if not self.show:
+ raise RuntimeError(f"Unexpected call: episode without show property")
return self.show.trakt_id
@property

Catch internal error when episode show is referred