Skip to content

Commit

Permalink
Use trakt slug for trakt_url
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 7, 2024
1 parent bbbb762 commit 799dfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def trakt_id(self):

@property
def trakt_url(self):
return f"https://trakt.tv/{self.media_type}/{self.trakt_id}"
return f"https://trakt.tv/{self.media_type}/{self.trakt.slug}"

@property
def show(self) -> Media | None:
Expand Down

0 comments on commit 799dfbd

Please sign in to comment.