Private GIT

Skip to content
Snippets Groups Projects
Commit cfd4f48c authored by miigotu's avatar miigotu
Browse files

Merge pull request #2458 from SiCKRAGETV/revert-2457-fix_tntvillage_match

Revert "tntvillage: Fix torrents searching"
parents f604c30b 7afe253a
No related branches found
No related tags found
No related merge requests found
...@@ -425,17 +425,6 @@ class TNTVillageProvider(generic.TorrentProvider): ...@@ -425,17 +425,6 @@ class TNTVillageProvider(generic.TorrentProvider):
logger.log(u"Subtitled, skipping " + title + "(" + searchURL + ")", logger.DEBUG) logger.log(u"Subtitled, skipping " + title + "(" + searchURL + ")", logger.DEBUG)
continue continue
search_show = re.split(r'([Ss][\d{1,2}]+)', search_string)[0]
show_title = search_show
rindex = re.search(r'([Ss][\d{1,2}]+)', title)
if rindex:
show_title = title[:rindex.start()]
ep_params = title[rindex.start():]
if show_title.lower() != search_show.lower() and search_show.lower() in show_title.lower():
new_title = search_show + ep_params
logger.log(u"WARNING - Changing found title from: " + title + " to: " + new_title, logger.DEBUG)
title = new_title
if self._is_season_pack(title): if self._is_season_pack(title):
title = re.sub(r'([Ee][\d{1,2}\-?]+)', '', title) title = re.sub(r'([Ee][\d{1,2}\-?]+)', '', title)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment