Commit c578ff0e authored by echel0n's avatar echel0n

Fixed show refreshes to work when show is paused if end-user edits, manually...

Fixed show refreshes to work when show is paused if end-user edits, manually rescans, or mass updates.
parent 49bf5016
# Changelog
- * 54bc669 - 2018-11-18: Added `dist` folder to .gitignore
- * 7ca45e7 - 2018-11-18: Fixed show refreshes to work when show is paused if end-user edits, manually rescans, or mass updates.
- * 49bf501 - 2018-11-18: Added `dist` folder to .gitignore
- * 4956499 - 2018-11-18: Refactored TorrentBytes provider.
- * 735245c - 2018-11-18: Release v9.4.40
- * b538435 - 2018-11-18: Refactored network timezone functions.
......
......@@ -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))
......
Markdown is supported
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