Commit c84f0293 authored by echel0n's avatar echel0n

Merge branch 'release/9.4.82'

parents 417fac7d ee7439e9
# Changelog
- * 662882cb - 2019-03-06: Release v9.4.81
- * 63dc190 - 2019-03-06: Release v9.4.82
- * 8a67674 - 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
......
......@@ -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.codernitydb.bak-{}'.format(self.name,
datetime.datetime.now().strftime(
'%Y%m%d_%H%M%S')))
backup_file = os.path.join(sickrage.app.data_dir, '{}_{}.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))
......
......@@ -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.codernitydb'.format(db.name)))
backup_file = db.backup(os.path.join(sickrage.app.data_dir, '{}.codernitydb'.format(db.name)))
source += [backup_file]
# cache folder
......@@ -1058,7 +1058,7 @@ def restoreSR(srcDir, dstDir):
for filename in files_list:
srcFile = os.path.join(srcDir, filename)
dstFile = os.path.join(dstDir, filename)
bakFile = os.path.join(dstDir, '{}.bak-{}'
bakFile = os.path.join(dstDir, '{}_{}.bak'
.format(filename, datetime.datetime.now().strftime('%Y%m%d_%H%M%S')))
if os.path.exists(srcFile):
......@@ -1068,14 +1068,14 @@ 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.codernitydb'.format(db.name))
restore_file = os.path.join(sickrage.app.data_dir, 'restore', '{}.codernitydb'.format(db.name))
if os.path.exists(restore_file):
db.restore(restore_file)
# cache
if os.path.exists(os.path.join(srcDir, 'cache')):
if os.path.exists(os.path.join(dstDir, 'cache')):
move_file(os.path.join(dstDir, 'cache'), os.path.join(dstDir, '{}.bak-{}'
move_file(os.path.join(dstDir, 'cache'), os.path.join(dstDir, '{}_{}.bak'
.format('cache',
datetime.datetime.now().strftime(
'%Y%m%d_%H%M%S'))))
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:42\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:41\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:41\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:41\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:41\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:41\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.81\n"
"Project-Id-Version: sickrage 9.4.82\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2019-03-06 17:14-0800\n"
"POT-Creation-Date: 2019-03-06 17:39-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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:41\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:41\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:41\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:41\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:14\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:40\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:42\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:15\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:42\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:42\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:42\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:42\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:42\n"
"Last-Translator: echel0n <[email protected]sickrage.ca>\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-06 17:14-0800\n"
"PO-Revision-Date: 2019-03-07 01:16\n"
"POT-Creation-Date: 2019-03-06 17:39-0800\n"
"PO-Revision-Date: 2019-03-07 01:42\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Chinese Traditional\n"
"MIME-Version: 1.0\n"
......
9.4.81
\ No newline at end of file
9.4.82
\ 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