Skip to content

Commit

Permalink
fix: now playing movie notification
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroquinc committed Aug 25, 2024
1 parent b81295e commit 70475ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/plex/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 70475ff

Please sign in to comment.