Update Trakt dependency from trakt==3.4.0 to pytrakt~=3.4.30 (#43)

* Update Trakt dependency from trakt==3.4.0 to pytrakt~=3.4.30

Resolve issue #42

* Fix retrieve of the season number
This commit is contained in:
Thibault Le Cornec 2024-03-02 16:48:17 +01:00 committed by GitHub
parent 26cd599e45
commit d721a28ba4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
trakt==3.4.0 pytrakt~=3.4.30
tinydb==4.6.1 tinydb==4.6.1

View file

@ -120,7 +120,7 @@ class TVTimeTVShow(TVTimeItem):
season_number = int(self.season_number) season_number = int(self.season_number)
# Gen get the Season Number from the first item in the array # Gen get the Season Number from the first item in the array
first_season_no = trakt_show.seasons[0].number first_season_no = trakt_show.seasons[0].season
# If the season number is 0, then the Trakt show contains a "special" season # If the season number is 0, then the Trakt show contains a "special" season
if first_season_no == 0: if first_season_no == 0: