From 7ed0c6f099db75896ea46d01b91697a3b38ccd8a Mon Sep 17 00:00:00 2001 From: Dean Gardiner Date: Sun, 6 Apr 2014 16:47:52 +1200 Subject: [PATCH] Fixed missing identifiers for 'thetvdb' --- couchpotato/core/media/show/providers/info/thetvdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 couchpotato/core/media/show/providers/info/thetvdb.py diff --git a/couchpotato/core/media/show/providers/info/thetvdb.py b/couchpotato/core/media/show/providers/info/thetvdb.py old mode 100644 new mode 100755 index b34580d..b2e58d9 --- a/couchpotato/core/media/show/providers/info/thetvdb.py +++ b/couchpotato/core/media/show/providers/info/thetvdb.py @@ -236,7 +236,7 @@ class TheTVDb(ShowProvider): show_data = { 'identifiers': { - 'thetvdb': tryInt(get('seriesid')), + 'thetvdb': tryInt(get('id')), 'imdb': get('imdb_id'), 'zap2it': get('zap2it_id'), }, @@ -316,7 +316,7 @@ class TheTVDb(ShowProvider): season_data = { '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), 'images': {