From 90e4b0c1f44ebb8495c44e11dbe7eee97e5f6567 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Mon, 19 Aug 2019 11:41:08 -0500 Subject: [PATCH] add retroplayer game saves to default file list --- resources/data/default_files.json | 10 ++++++++++ .../language/resource.language.en_gb/strings.po | 4 ++++ resources/lib/backup.py | 2 +- resources/settings.xml | 17 +++++++++-------- 4 files changed, 24 insertions(+), 9 deletions(-) diff --git a/resources/data/default_files.json b/resources/data/default_files.json index 8ab70a6..b4d601d 100644 --- a/resources/data/default_files.json +++ b/resources/data/default_files.json @@ -37,6 +37,16 @@ } ] }, + "game_saves":{ + "root":"special://home/userdata/Savestates", + "dirs":[ + { + "type":"include", + "path":"special://home/userdata/Savestates", + "recurse":true + } + ] + }, "playlists":{ "root":"special://home/userdata/playlists", "dirs":[ diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 2f45c8d..99920b1 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -519,4 +519,8 @@ msgstr "" msgctxt "#30132" msgid "Version 1.1.4 requires you to setup your file selections again - this is a breaking change" +msgstr "" + +msgctxt "#30133" +msgid "Game Saves" msgstr "" \ No newline at end of file diff --git a/resources/lib/backup.py b/resources/lib/backup.py index aa4731c..89e2e31 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -25,7 +25,7 @@ class XbmcBackup: Restore = 1 #list of dirs for the "simple" file selection - simple_directory_list = ['addons','addon_data','database','playlists','profiles','thumbnails','config'] + simple_directory_list = ['addons','addon_data','database','game_saves','playlists','profiles','thumbnails','config'] #file systems xbmc_vfs = None diff --git a/resources/settings.xml b/resources/settings.xml index 350dd6c..668dcff 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -20,15 +20,16 @@ - - + + - - - - - - + + + + + + +