Commit ad2f5d9a authored by echel0n's avatar echel0n
Browse files

Release v9.1.60

parent 2070b4d4
# Changelog
- * 20333b8 - 2017-10-28: Release v9.1.59
- * 821dc0d - 2017-10-28: Release v9.1.60
- * b30936a - 2017-10-28: Release v9.1.59
- * 56a04dc - 2017-10-28: Fixed issue with verifying search results
- * 2c23053 - 2017-10-28: Fixed issues with scene numbering and NoneType errors
- * 4c26bb0 - 2017-10-27: cleanup code
......
......@@ -50,39 +50,35 @@ def _verify_result(result):
resProvider = result.provider
# check for auth
if not resProvider.login():
return False
urls = resProvider.make_url(result.url)
for url in urls:
if 'NO_DOWNLOAD_NAME' in url:
continue
if resProvider.login():
for url in resProvider.make_url(result.url):
if 'NO_DOWNLOAD_NAME' in url:
continue
headers = {}
if url.startswith('http'):
headers.update({
'Referer': '/'.join(url.split('/')[:3]) + '/'
})
headers = {}
if url.startswith('http'):
headers.update({
'Referer': '/'.join(url.split('/')[:3]) + '/'
})
sickrage.srCore.srLogger.info("Verifiying a result from " + resProvider.name + " at " + url)
sickrage.srCore.srLogger.info("Verifiying a result from " + resProvider.name + " at " + url)
result.content = sickrage.srCore.srWebSession.get(url, verify=False, cache=False, headers=headers).content
result.content = sickrage.srCore.srWebSession.get(url, verify=False, cache=False, headers=headers).content
if result.resultType == "torrent":
try:
parser = guessParser(StringInputStream(result.content))
if parser and parser._getMimeType() == 'application/x-bittorrent':
if result.resultType == "torrent" and not resProvider.private:
# add public trackers to torrent result
result = resProvider.add_trackers(result)
return result
except Exception:
pass
else:
return result
if result.resultType == "torrent":
try:
parser = guessParser(StringInputStream(result.content))
if parser and parser._getMimeType() == 'application/x-bittorrent':
if result.resultType == "torrent" and not resProvider.private:
# add public trackers to torrent result
result = resProvider.add_trackers(result)
return result
except Exception:
pass
else:
return result
sickrage.srCore.srLogger.warning("Failed to verify result: %s" % url)
sickrage.srCore.srLogger.warning("Failed to verify result: %s" % url)
result.content = None
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2017-10-28 19:11-0400\n"
"PO-Revision-Date: 2017-10-28 19:12-0400\n"
"POT-Creation-Date: 2017-10-28 19:22-0400\n"
"PO-Revision-Date: 2017-10-28 19:22-0400\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Arabic\n"
"MIME-Version: 1.0\n"
......@@ -5859,7 +5859,7 @@ msgstr "مطلوبة"
msgid "Ignored"
msgstr "تجاهل"
#: sickrage/core/search.py:212
#: sickrage/core/search.py:208
msgid "Episode snatched"
msgstr "الحلقة انتزع"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2017-10-28 19:11-0400\n"
"PO-Revision-Date: 2017-10-28 19:12-0400\n"
"POT-Creation-Date: 2017-10-28 19:22-0400\n"
"PO-Revision-Date: 2017-10-28 19:22-0400\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Catalan\n"
"MIME-Version: 1.0\n"
......@@ -5859,7 +5859,7 @@ msgstr "Volia"
msgid "Ignored"
msgstr "Ignorat"
#: sickrage/core/search.py:212
#: sickrage/core/search.py:208
msgid "Episode snatched"
msgstr "Episodi va arrabassar"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2017-10-28 19:11-0400\n"
"PO-Revision-Date: 2017-10-28 19:12-0400\n"
"POT-Creation-Date: 2017-10-28 19:22-0400\n"
"PO-Revision-Date: 2017-10-28 19:23-0400\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Czech\n"
"MIME-Version: 1.0\n"
......@@ -5859,7 +5859,7 @@ msgstr "Chtěl"
msgid "Ignored"
msgstr "Ignorováno"
#: sickrage/core/search.py:212
#: sickrage/core/search.py:208
msgid "Episode snatched"
msgstr "Epizoda vytrhl"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2017-10-28 19:11-0400\n"
"PO-Revision-Date: 2017-10-28 19:12-0400\n"
"POT-Creation-Date: 2017-10-28 19:22-0400\n"
"PO-Revision-Date: 2017-10-28 19:23-0400\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Danish\n"
"MIME-Version: 1.0\n"
......@@ -5859,7 +5859,7 @@ msgstr "Ønskede"
msgid "Ignored"
msgstr "Ignoreret"
#: sickrage/core/search.py:212
#: sickrage/core/search.py:208
msgid "Episode snatched"
msgstr "Episode snappede"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2017-10-28 19:11-0400\n"
"PO-Revision-Date: 2017-10-28 19:12-0400\n"
"POT-Creation-Date: 2017-10-28 19:22-0400\n"
"PO-Revision-Date: 2017-10-28 19:23-0400\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: German\n"
"MIME-Version: 1.0\n"
......@@ -5859,7 +5859,7 @@ msgstr "Wollte"
msgid "Ignored"
msgstr "Ignoriert"
#: sickrage/core/search.py:212
#: sickrage/core/search.py:208
msgid "Episode snatched"
msgstr "Folge entrissen"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2017-10-28 19:11-0400\n"
"PO-Revision-Date: 2017-10-28 19:12-0400\n"
"POT-Creation-Date: 2017-10-28 19:22-0400\n"
"PO-Revision-Date: 2017-10-28 19:23-0400\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Greek\n"
"MIME-Version: 1.0\n"
......@@ -5859,7 +5859,7 @@ msgstr "Ήθελε"
msgid "Ignored"
msgstr "Αγνοούνται"
#: sickrage/core/search.py:212
#: sickrage/core/search.py:208
msgid "Episode snatched"
msgstr "Άρπαξε το επεισόδιο"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment