mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +00:00
Fix for mass updating not actually changing any show options when editing
This commit is contained in:
parent
7e91d3a600
commit
272ecd0ab8
1 changed files with 22 additions and 4 deletions
|
@ -3211,7 +3211,7 @@ class Home:
|
||||||
if directCall:
|
if directCall:
|
||||||
do_update_exceptions = False
|
do_update_exceptions = False
|
||||||
else:
|
else:
|
||||||
if directCall or set(exceptions_list) == set(showObj.exceptions):
|
if set(exceptions_list) == set(showObj.exceptions):
|
||||||
do_update_exceptions = False
|
do_update_exceptions = False
|
||||||
else:
|
else:
|
||||||
do_update_exceptions = True
|
do_update_exceptions = True
|
||||||
|
@ -3278,19 +3278,37 @@ class Home:
|
||||||
except exceptions.CantRefreshException, e:
|
except exceptions.CantRefreshException, e:
|
||||||
errors.append("Unable to refresh this show: " + ex(e))
|
errors.append("Unable to refresh this show: " + ex(e))
|
||||||
|
|
||||||
showObj.paused = paused
|
if paused:
|
||||||
|
showObj.paused = paused
|
||||||
|
|
||||||
# if this routine was called via the mass edit, do not change the options that are not passed
|
if air_by_date:
|
||||||
if not directCall:
|
|
||||||
showObj.air_by_date = air_by_date
|
showObj.air_by_date = air_by_date
|
||||||
|
|
||||||
|
if scene:
|
||||||
showObj.scene = scene
|
showObj.scene = scene
|
||||||
|
|
||||||
|
if sports:
|
||||||
showObj.sports = sports
|
showObj.sports = sports
|
||||||
|
|
||||||
|
if anime:
|
||||||
showObj.anime = anime
|
showObj.anime = anime
|
||||||
|
|
||||||
|
if subtitles:
|
||||||
showObj.subtitles = subtitles
|
showObj.subtitles = subtitles
|
||||||
|
|
||||||
|
if indexer_lang:
|
||||||
showObj.lang = indexer_lang
|
showObj.lang = indexer_lang
|
||||||
|
|
||||||
|
if dvdorder:
|
||||||
showObj.dvdorder = dvdorder
|
showObj.dvdorder = dvdorder
|
||||||
|
|
||||||
|
if archive_firstmatch:
|
||||||
showObj.archive_firstmatch = archive_firstmatch
|
showObj.archive_firstmatch = archive_firstmatch
|
||||||
|
|
||||||
|
if rls_ignore_words:
|
||||||
showObj.rls_ignore_words = rls_ignore_words.strip()
|
showObj.rls_ignore_words = rls_ignore_words.strip()
|
||||||
|
|
||||||
|
if rls_require_words:
|
||||||
showObj.rls_require_words = rls_require_words.strip()
|
showObj.rls_require_words = rls_require_words.strip()
|
||||||
|
|
||||||
# if we change location clear the db of episodes, change it, write to db, and rescan
|
# if we change location clear the db of episodes, change it, write to db, and rescan
|
||||||
|
|
Loading…
Reference in a new issue