mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-18 08:43:37 +00:00
Fix IMDB fetch from TheTVDb API.
This commit is contained in:
parent
930b5ed533
commit
41e4519dbc
2 changed files with 7 additions and 2 deletions
|
@ -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
|
* Change minimum required Python to version 3.8
|
||||||
* Update Apprise 1.2.1 (3d07004) to 1.3.0 (6458ab0)
|
* Update Apprise 1.2.1 (3d07004) to 1.3.0 (6458ab0)
|
||||||
|
|
|
@ -1081,7 +1081,7 @@ class Tvdb(TVInfoBase):
|
||||||
ti_show.imdb_id = clean_data(show_data.get('imdb_id')) or None
|
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_time = clean_data(show_data.get('airs_time'))
|
||||||
ti_show.airs_dayofweek = clean_data(show_data.get('airs_dayofweek'))
|
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:
|
else:
|
||||||
show_data = {'data': {}}
|
show_data = {'data': {}}
|
||||||
|
|
Loading…
Reference in a new issue