From 70475ff4f91c29a76fdc4396ee2329ac597ad1f6 Mon Sep 17 00:00:00 2001 From: zeroquinc Date: Sun, 25 Aug 2024 15:22:55 +0200 Subject: [PATCH] fix: now playing movie notification --- api/plex/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/plex/client.py b/api/plex/client.py index 5ca7923..58a4225 100644 --- a/api/plex/client.py +++ b/api/plex/client.py @@ -59,7 +59,7 @@ def generate_embed(self): return embed_creators.get(self.webhook_type)() def embed_for_event(self): - title = f"{self.title} ({self.year})" if self.media_type == "Movie" else f"{self.title} (S{self.season_num00}E{self.episode_num00})" + title = f"{self.title} ({self.year})" if self.media_type == "movie" else f"{self.title} (S{self.season_num00}E{self.episode_num00})" embed = EmbedBuilder(title=title, url=self.plex_url, color=0xe5a00d) if self.poster_url: embed.set_thumbnail(url=self.poster_url)