diff --git a/dizqueTV/models/media.py b/dizqueTV/models/media.py index 58240d7..66c15be 100644 --- a/dizqueTV/models/media.py +++ b/dizqueTV/models/media.py @@ -43,6 +43,12 @@ def __init__(self, data: dict, dizque_instance, channel_instance=None): def __repr__(self): return f"{self.__class__.__name__}({self.title})" + @property + def full_name(self): + if self.type == "episode": + return f"{self.showTitle} - s{self.season}e{self.episode} - {self.title}" + return self.title + class Redirect(BaseMediaItem): def __init__(self, data: dict, dizque_instance, channel_instance):