Skip to content

Commit

Permalink
Merge pull request #12 from zeroquinc:embed-title
Browse files Browse the repository at this point in the history
fix: add embed title to radarr API
  • Loading branch information
zeroquinc authored May 30, 2024
2 parents 5e54ec1 + ee44132 commit 8ff21b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/radarr/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8ff21b5

Please sign in to comment.