mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-08 11:03:38 +00:00
commit
df4f2d11d2
1 changed files with 3 additions and 3 deletions
|
@ -177,17 +177,17 @@ class HDBitsProvider(generic.TorrentProvider):
|
||||||
if show.air_by_date or show.sports:
|
if show.air_by_date or show.sports:
|
||||||
post_data['tvdb'] = {
|
post_data['tvdb'] = {
|
||||||
'id': show.indexerid,
|
'id': show.indexerid,
|
||||||
'season': str(episode.airdate)[:7],
|
'season': str(season.airdate)[:7],
|
||||||
}
|
}
|
||||||
elif show.anime:
|
elif show.anime:
|
||||||
post_data['tvdb'] = {
|
post_data['tvdb'] = {
|
||||||
'id': show.indexerid,
|
'id': show.indexerid,
|
||||||
'season': "%d" % episode.scene_absolute_number,
|
'season': "%d" % season.scene_absolute_number,
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
post_data['tvdb'] = {
|
post_data['tvdb'] = {
|
||||||
'id': show.indexerid,
|
'id': show.indexerid,
|
||||||
'season': episode.scene_season,
|
'season': season.scene_season,
|
||||||
}
|
}
|
||||||
|
|
||||||
if search_term:
|
if search_term:
|
||||||
|
|
Loading…
Reference in a new issue