Commit a7125d3e authored by echel0n's avatar echel0n
Browse files

Merge branch 'release/9.4.41'

parents 102d2251 dff28fe4
......@@ -66,4 +66,5 @@ Thumbs.db
######################
/bower_components/
/node_modules/
/src/spritesmith-generated/
\ No newline at end of file
/src/spritesmith-generated/
/dist/
\ No newline at end of file
This diff is collapsed.
......@@ -28,13 +28,10 @@ from sickrage.core.common import UNAIRED, SKIPPED, statusStrings
def new_episode_finder():
curDate = datetime.date.today()
if sickrage.app.tz_updater.network_dict:
curDate += datetime.timedelta(days=1)
else:
curDate += datetime.timedelta(days=2)
curDate += datetime.timedelta(days=1)
curTime = datetime.datetime.now(sickrage.app.tz)
show = None
curTime = datetime.datetime.now(sickrage.app.tz)
for episode in sickrage.app.main_db.all('tv_episodes'):
if not all([episode['status'] == UNAIRED, episode['season'] > 0, episode['airdate'] > 1]):
......
......@@ -1030,18 +1030,15 @@ class TVEpisode(object):
def release_group(show, name):
if name:
name = remove_non_release_groups(remove_extension(name))
else:
return ""
try:
parse_result = NameParser(name, showObj=show, naming_pattern=True).parse(name)
except (InvalidNameException, InvalidShowException) as e:
sickrage.app.log.debug("Unable to get parse release_group: {}".format(e))
return ''
if not parse_result.release_group:
return ''
return parse_result.release_group
try:
parse_result = NameParser(name, showObj=show, naming_pattern=True).parse(name)
if parse_result.release_group:
return parse_result.release_group
except (InvalidNameException, InvalidShowException) as e:
sickrage.app.log.debug("Unable to get parse release_group: {}".format(e))
return ''
__, epQual = Quality.splitCompositeStatus(self.status)
......
......@@ -1441,7 +1441,7 @@ class Home(WebHandler):
if bool(showObj.flatten_folders) != bool(flatten_folders):
showObj.flatten_folders = flatten_folders
try:
sickrage.app.show_queue.refreshShow(showObj)
sickrage.app.show_queue.refreshShow(showObj, True)
except CantRefreshShowException as e:
errors.append(_("Unable to refresh this show: {}").format(e))
......@@ -1473,7 +1473,7 @@ class Home(WebHandler):
try:
showObj.location = location
try:
sickrage.app.show_queue.refreshShow(showObj)
sickrage.app.show_queue.refreshShow(showObj, True)
except CantRefreshShowException as e:
errors.append(_("Unable to refresh this show:{}").format(e))
# grab updated info from TVDB
......@@ -1582,7 +1582,7 @@ class Home(WebHandler):
return self._genericMessage(_("Error"), _("Unable to find the specified show"))
try:
sickrage.app.show_queue.refreshShow(showObj)
sickrage.app.show_queue.refreshShow(showObj, True)
except CantRefreshShowException as e:
sickrage.app.alerts.error(_('Unable to refresh this show.'), str(e))
......@@ -3415,7 +3415,7 @@ class Manage(Home, WebRoot):
# don't bother refreshing shows that were updated anyway
if curShowID in toRefresh and curShowID not in toUpdate:
try:
sickrage.app.show_queue.refreshShow(showObj)
sickrage.app.show_queue.refreshShow(showObj, True)
refreshes.append(showObj.name)
except CantRefreshShowException as e:
errors.append(_("Unable to refresh show ") + showObj.name + ": {}".format(e))
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-18 12:46-0800\n"
"PO-Revision-Date: 2018-11-18 20:46\n"
"POT-Creation-Date: 2018-11-20 19:23-0800\n"
"PO-Revision-Date: 2018-11-21 03:23\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Arabic\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-18 12:46-0800\n"
"PO-Revision-Date: 2018-11-18 20:46\n"
"POT-Creation-Date: 2018-11-20 19:23-0800\n"
"PO-Revision-Date: 2018-11-21 03:24\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Catalan\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-18 12:46-0800\n"
"PO-Revision-Date: 2018-11-18 20:46\n"
"POT-Creation-Date: 2018-11-20 19:23-0800\n"
"PO-Revision-Date: 2018-11-21 03:24\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Czech\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-18 12:46-0800\n"
"PO-Revision-Date: 2018-11-18 20:47\n"
"POT-Creation-Date: 2018-11-20 19:23-0800\n"
"PO-Revision-Date: 2018-11-21 03:24\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Danish\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-18 12:46-0800\n"
"PO-Revision-Date: 2018-11-18 20:47\n"
"POT-Creation-Date: 2018-11-20 19:23-0800\n"
"PO-Revision-Date: 2018-11-21 03:24\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: German\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-18 12:46-0800\n"
"PO-Revision-Date: 2018-11-18 20:47\n"
"POT-Creation-Date: 2018-11-20 19:23-0800\n"
"PO-Revision-Date: 2018-11-21 03:24\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Greek\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-18 12:46-0800\n"
"PO-Revision-Date: 2018-11-18 20:48\n"
"POT-Creation-Date: 2018-11-20 19:23-0800\n"
"PO-Revision-Date: 2018-11-21 03:25\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: English\n"
"MIME-Version: 1.0\n"
......
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