mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Merge branch 'feature/FixBtnAnime' into develop
This commit is contained in:
commit
c02de5eea5
2 changed files with 2 additions and 8 deletions
|
@ -17,6 +17,7 @@
|
|||
* Fix anime regex (port from lad1337/sickbeard)
|
||||
* Add pull request checkout option to General Config/Advanced Settings
|
||||
* Add BTN api call parameter debug logging
|
||||
* Fix anime searches on BTN provider
|
||||
|
||||
[develop changelog]
|
||||
|
||||
|
@ -61,10 +62,7 @@
|
|||
* Fix restart issue
|
||||
* Fix to use new TorrentDay URLs
|
||||
* Fix typo in menu item Manage/Update XBMC
|
||||
* Fix NameParser unittests
|
||||
* Add Anime unittest cases (port from lad1337/sickbeard)
|
||||
* Fix normal tv show regex (port from midgetspy/sickbeard)
|
||||
* Fix anime regex (port from lad1337/sickbeard)
|
||||
|
||||
|
||||
### 0.4.0 (2014-12-04 10:50:00 UTC)
|
||||
|
||||
|
|
|
@ -203,8 +203,6 @@ class BTNProvider(generic.TorrentProvider):
|
|||
if ep_obj.show.air_by_date or ep_obj.show.sports:
|
||||
# Search for the year of the air by date show
|
||||
current_params['name'] = str(ep_obj.airdate).split('-')[0]
|
||||
elif ep_obj.show.is_anime:
|
||||
current_params['name'] = "%d" % ep_obj.scene_absolute_number
|
||||
else:
|
||||
current_params['name'] = 'Season ' + str(ep_obj.scene_season)
|
||||
|
||||
|
@ -240,8 +238,6 @@ class BTNProvider(generic.TorrentProvider):
|
|||
# BTN uses dots in dates, we just search for the date since that
|
||||
# combined with the series identifier should result in just one episode
|
||||
search_params['name'] = date_str.replace('-', '.')
|
||||
elif ep_obj.show.anime:
|
||||
search_params['name'] = "%i" % int(ep_obj.scene_absolute_number)
|
||||
else:
|
||||
# Do a general name search for the episode, formatted like SXXEYY
|
||||
search_params['name'] = "S%02dE%02d" % (ep_obj.scene_season, ep_obj.scene_episode)
|
||||
|
|
Loading…
Reference in a new issue