From ee4413215949e421d070be0d9c6b94e868f3ab1c Mon Sep 17 00:00:00 2001 From: zeroquinc Date: Thu, 30 May 2024 09:31:39 +0200 Subject: [PATCH] fix: add embed title to radarr API --- api/radarr/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/radarr/client.py b/api/radarr/client.py index 86bcbb3..b0f210b 100644 --- a/api/radarr/client.py +++ b/api/radarr/client.py @@ -27,6 +27,7 @@ def initialize_global_variables(self): self.custom_format_score = self.release_data.get('customFormatScore', 'N/A') self.custom_formats = self.release_data.get('customFormats', []) self.tmdb_id = self.movie.get('tmdbId', 'N/A') + self.embed_title = f"{self.movie_title} ({self.movie_year})" if self.event_type != 'Test': self.poster = TMDb.movie_poster_path(self.tmdb_id)