1
0
mirror of https://github.com/moparisthebest/SickRage synced 2025-01-05 19:08:02 -05:00

Convert TVDB to Indexerid

This commit is contained in:
Nils Vogels 2014-05-06 23:51:06 +02:00
parent 8a61eb1e26
commit 3f719a4607

View File

@ -147,7 +147,7 @@ class HDBitsProvider(generic.TorrentProvider):
if episode: if episode:
post_data['tvdb'] = { post_data['tvdb'] = {
'id': show.tvdbid, 'id': show.indexerid,
'season': episode.scene_season, 'season': episode.scene_season,
'episode': episode.scene_episode 'episode': episode.scene_episode
} }
@ -236,4 +236,4 @@ class HDBitsCache(tvcache.TVCache):
def _checkAuth(self, data): def _checkAuth(self, data):
return self.provider._checkAuthFromData(data) return self.provider._checkAuthFromData(data)
provider = HDBitsProvider() provider = HDBitsProvider()