Commit 417fac7d authored by echel0n's avatar echel0n

Merge branch 'release/9.4.81'

parents ee774bd0 8a676742
# Changelog
- * 29ae520 - 2019-03-05: Release v9.4.80
- * 662882cb - 2019-03-06: Release v9.4.81
- * 6de5fa5 - 2019-03-05: Release v9.4.80
- * 43baedf - 2019-03-05: Fixed saving of provider settings so that booleans are saved as integers
- * 4f0d739 - 2019-03-04: Release v9.4.79
- * 1ff280d - 2019-03-04: Added code for database restore function to check if db exists then destroy before creating new
......
......@@ -422,9 +422,9 @@ class srDatabase(object):
return backup_file
def restore(self, restore_file=None):
backup_file = os.path.join(sickrage.app.data_dir, '{}_db.pickle.bak-{}'.format(self.name,
datetime.datetime.now().strftime(
'%Y%m%d_%H%M%S')))
backup_file = os.path.join(sickrage.app.data_dir, '{}_db.codernitydb.bak-{}'.format(self.name,
datetime.datetime.now().strftime(
'%Y%m%d_%H%M%S')))
if os.path.exists(restore_file):
self.backup(backup_file)
sickrage.app.log.info('Restoring database file {}'.format(restore_file))
......@@ -435,7 +435,7 @@ class srDatabase(object):
if not self.opened:
self.db.open()
self.db.destroy()
self.db.create()
[self.insert(row) for row in rows]
del rows
......
......@@ -1028,7 +1028,7 @@ def backupSR(backupDir, keep_latest=False, migrate=True):
# database
for db in [sickrage.app.main_db, sickrage.app.cache_db]:
backup_file = db.backup(os.path.join(sickrage.app.data_dir, '{}_db.pickle'.format(db.name)))
backup_file = db.backup(os.path.join(sickrage.app.data_dir, '{}_db.codernitydb'.format(db.name)))
source += [backup_file]
# cache folder
......@@ -1068,7 +1068,7 @@ def restoreSR(srcDir, dstDir):
# database
for db in [sickrage.app.main_db, sickrage.app.cache_db]:
restore_file = os.path.join(sickrage.app.data_dir, 'restore', '{}_db.pickle'.format(db.name))
restore_file = os.path.join(sickrage.app.data_dir, 'restore', '{}_db.codernitydb'.format(db.name))
if os.path.exists(restore_file):
db.restore(restore_file)
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:17\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:17\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:17\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:17\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:19\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: English\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:17\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Spanish\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Finnish\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:17\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: French\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Hebrew\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Hungarian\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Italian\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Japanese\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Korean\n"
"MIME-Version: 1.0\n"
......
......@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: sickrage 9.4.80\n"
"Project-Id-Version: sickrage 9.4.81\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-03-05 06:17-0800\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <[email protected]>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Dutch\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Norwegian\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Polish\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Portuguese\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:17\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Romanian\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:18\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Russian\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:19\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Swedish\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:19\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Turkish\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:19\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Ukrainian\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:19\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Vietnamese\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:19\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Chinese Simplified\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: 2019-03-05 06:17-0800\n"
"PO-Revision-Date: 2019-03-05 14:19\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Chinese Traditional\n"
"MIME-Version: 1.0\n"
......
9.4.80
\ No newline at end of file
9.4.81
\ No newline at end of file
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