Add is_episode property to Media
@@ -50,6 +50,10 @@ def show_trakt_id(self):
def is_movie(self):
return self.plex.type == "movie"
+ @property
+ def is_episode(self):
+ return self.plex.type == "episode"
+
@property
def is_collected(self):
if self.is_movie:
