Skip to content

Commit

Permalink
fixup! fixup! Add PlexGuid.is_special property
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Dec 23, 2023
1 parent 13396a7 commit 8a6544a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plextraktsync/plex/PlexGuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ def is_episode(self):

@property
def is_special(self):
# applies to episodes only
if self.media_type != "episodes":
return False
raise ValueError("is_special is not valid for non-episodes")

return self.pm.season_number == 0

Expand Down

0 comments on commit 8a6544a

Please sign in to comment.