Merge branch 'feature/FixTVDbApiIMDB'

This commit is contained in:
JackDandy 2023-05-26 06:11:01 +01:00
commit c4dc3ea78c
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,9 @@
### 3.29.0 (2023-05-22 00:25:00 UTC)
### 3.29.1 (2023-05-26 06:10:00 UTC)
* Fix IMDB fetch from TheTVDb API
### 3.29.0 (2023-05-22 00:25:00 UTC)
* Change minimum required Python to version 3.8
* Update Apprise 1.2.1 (3d07004) to 1.3.0 (6458ab0)

View file

@ -1081,7 +1081,7 @@ class Tvdb(TVInfoBase):
ti_show.imdb_id = clean_data(show_data.get('imdb_id')) or None
ti_show.airs_time = clean_data(show_data.get('airs_time'))
ti_show.airs_dayofweek = clean_data(show_data.get('airs_dayofweek'))
ti_show.ids = TVInfoIDs(tvdb=ti_show.id, imdb=try_int(ti_show.imdb_id.replace('tt', ''), None))
ti_show.ids = TVInfoIDs(tvdb=ti_show.id, imdb=try_int(str(ti_show.imdb_id).replace('tt', ''), None))
else:
show_data = {'data': {}}