diff --git a/sickbeard/providers/hdtorrents.py b/sickbeard/providers/hdtorrents.py index 3936cae3..59827fc5 100644 --- a/sickbeard/providers/hdtorrents.py +++ b/sickbeard/providers/hdtorrents.py @@ -307,7 +307,7 @@ class HDTorrentsProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item) diff --git a/sickbeard/providers/iptorrents.py b/sickbeard/providers/iptorrents.py index b45b9dac..9252006f 100644 --- a/sickbeard/providers/iptorrents.py +++ b/sickbeard/providers/iptorrents.py @@ -254,7 +254,7 @@ class IPTorrentsProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item) diff --git a/sickbeard/providers/kat.py b/sickbeard/providers/kat.py index 5b86bc18..d4d20188 100644 --- a/sickbeard/providers/kat.py +++ b/sickbeard/providers/kat.py @@ -388,7 +388,7 @@ class KATProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item) diff --git a/sickbeard/providers/nextgen.py b/sickbeard/providers/nextgen.py index 6ba908dd..447c7a82 100644 --- a/sickbeard/providers/nextgen.py +++ b/sickbeard/providers/nextgen.py @@ -301,7 +301,7 @@ class NextGenProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item) diff --git a/sickbeard/providers/publichd.py b/sickbeard/providers/publichd.py index a91a2579..e6a2f983 100644 --- a/sickbeard/providers/publichd.py +++ b/sickbeard/providers/publichd.py @@ -276,7 +276,7 @@ class PublicHDProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item) diff --git a/sickbeard/providers/scc.py b/sickbeard/providers/scc.py index 59de59fa..1d52f9f2 100644 --- a/sickbeard/providers/scc.py +++ b/sickbeard/providers/scc.py @@ -278,7 +278,7 @@ class SCCProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item) diff --git a/sickbeard/providers/speedcd.py b/sickbeard/providers/speedcd.py index f6297fc9..27498ac1 100644 --- a/sickbeard/providers/speedcd.py +++ b/sickbeard/providers/speedcd.py @@ -237,7 +237,7 @@ class SpeedCDProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item) diff --git a/sickbeard/providers/thepiratebay.py b/sickbeard/providers/thepiratebay.py index 82ba9be5..99f94bc3 100644 --- a/sickbeard/providers/thepiratebay.py +++ b/sickbeard/providers/thepiratebay.py @@ -382,7 +382,7 @@ class ThePirateBayProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item) diff --git a/sickbeard/providers/torrentday.py b/sickbeard/providers/torrentday.py index b57f8bd4..ad7417f2 100644 --- a/sickbeard/providers/torrentday.py +++ b/sickbeard/providers/torrentday.py @@ -250,7 +250,7 @@ class TorrentDayProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item) diff --git a/sickbeard/providers/torrentleech.py b/sickbeard/providers/torrentleech.py index ccee5562..35f048f3 100644 --- a/sickbeard/providers/torrentleech.py +++ b/sickbeard/providers/torrentleech.py @@ -253,7 +253,7 @@ class TorrentLeechProvider(generic.TorrentProvider): for sqlShow in sqlResults: curShow = helpers.findCertainShow(sickbeard.showList, int(sqlShow["showid"])) curEp = curShow.getEpisode(int(sqlShow["season"]), int(sqlShow["episode"])) - searchString = self._get_episode_search_strings(curEp, add_string='PROPER|REPACK') + searchString = self._get_episode_search_strings(curShow, curEp.scene_season, curEp.scene_episode, curShow.air_by_date, add_string='PROPER|REPACK') for item in self._doSearch(searchString[0]): title, url = self._get_title_and_url(item)