1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-14 03:52:22 -05:00

Merge pull request #424 from WebSpider/dev-hdbits_tvdb

Fixing Indexer for HDBits
This commit is contained in:
Nils 2014-05-06 23:55:22 +02:00
commit 6d8cf392d4

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()