Fixed missing identifiers for 'thetvdb'
This commit is contained in:
Regular → Executable
+2
-2
@@ -236,7 +236,7 @@ class TheTVDb(ShowProvider):
|
|||||||
|
|
||||||
show_data = {
|
show_data = {
|
||||||
'identifiers': {
|
'identifiers': {
|
||||||
'thetvdb': tryInt(get('seriesid')),
|
'thetvdb': tryInt(get('id')),
|
||||||
'imdb': get('imdb_id'),
|
'imdb': get('imdb_id'),
|
||||||
'zap2it': get('zap2it_id'),
|
'zap2it': get('zap2it_id'),
|
||||||
},
|
},
|
||||||
@@ -316,7 +316,7 @@ class TheTVDb(ShowProvider):
|
|||||||
|
|
||||||
season_data = {
|
season_data = {
|
||||||
'identifiers': {
|
'identifiers': {
|
||||||
'thetvdb': show.get('seriesid') if show.get('seriesid') else show[number][1]['seasonid']
|
'thetvdb': show['id'] if show.get('id') else show[number][1]['seasonid']
|
||||||
},
|
},
|
||||||
'number': tryInt(number),
|
'number': tryInt(number),
|
||||||
'images': {
|
'images': {
|
||||||
|
|||||||
Reference in New Issue
Block a user