|
|
|
@ -56,13 +56,6 @@ if os.path.exists(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db'))
|
|
|
|
|
else:
|
|
|
|
|
c.execute('UPDATE table_settings_general SET minimum_score="0"')
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
c.execute('alter table table_settings_general add column "minimum_score_movie" "text"')
|
|
|
|
|
except:
|
|
|
|
|
pass
|
|
|
|
|
else:
|
|
|
|
|
c.execute('UPDATE table_settings_general SET minimum_score_movie="0"')
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
c.execute('alter table table_settings_general add column "use_scenename" "text"')
|
|
|
|
|
except:
|
|
|
|
@ -171,6 +164,13 @@ if os.path.exists(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db'))
|
|
|
|
|
else:
|
|
|
|
|
c.execute('UPDATE table_settings_general SET page_size="25"')
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
c.execute('alter table table_settings_general add column "minimum_score_movie" "text"')
|
|
|
|
|
except:
|
|
|
|
|
pass
|
|
|
|
|
else:
|
|
|
|
|
c.execute('UPDATE table_settings_general SET minimum_score_movie="0"')
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
c.execute('DELETE FROM table_settings_notifier WHERE rowid > 24') #Modify this if we add more notification provider
|
|
|
|
|
rows = c.execute('SELECT name FROM table_settings_notifier WHERE name = "Discord"').fetchall()
|
|
|
|
|