From 8a6544ab8b32773dec7b26a50bb9c6ef766bdf37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 24 Dec 2023 01:15:37 +0200 Subject: [PATCH] fixup! fixup! Add PlexGuid.is_special property --- plextraktsync/plex/PlexGuid.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plextraktsync/plex/PlexGuid.py b/plextraktsync/plex/PlexGuid.py index 15f1f2b7a1d..c92b963a11b 100644 --- a/plextraktsync/plex/PlexGuid.py +++ b/plextraktsync/plex/PlexGuid.py @@ -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