add retroplayer game saves to default file list

This commit is contained in:
Rob Weber 2019-08-19 11:41:08 -05:00
parent c9415cbf59
commit 90e4b0c1f4
4 changed files with 24 additions and 9 deletions

View File

@ -37,6 +37,16 @@
} }
] ]
}, },
"game_saves":{
"root":"special://home/userdata/Savestates",
"dirs":[
{
"type":"include",
"path":"special://home/userdata/Savestates",
"recurse":true
}
]
},
"playlists":{ "playlists":{
"root":"special://home/userdata/playlists", "root":"special://home/userdata/playlists",
"dirs":[ "dirs":[

View File

@ -519,4 +519,8 @@ msgstr ""
msgctxt "#30132" msgctxt "#30132"
msgid "Version 1.1.4 requires you to setup your file selections again - this is a breaking change" 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 "" msgstr ""

View File

@ -25,7 +25,7 @@ class XbmcBackup:
Restore = 1 Restore = 1
#list of dirs for the "simple" file selection #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 #file systems
xbmc_vfs = None xbmc_vfs = None

View File

@ -20,15 +20,16 @@
</category> </category>
<category id="selection" label="30012"> <category id="selection" label="30012">
<setting id="backup_selection_type" type="enum" lvalues="30014|30015" default="0" label="30023" /> <setting id="backup_selection_type" type="enum" lvalues="30014|30015" default="0" label="30023" />
<setting id="backup_addons" type="bool" label="30030" default="true" visible="eq(-1,0)" /> <setting id="backup_addon_data" type="bool" label="30031" default="false" visible="eq(-1,0)"/>
<setting id="backup_addon_data" type="bool" label="30031" default="false" visible="eq(-2,0)"/> <setting id="backup_config" type="bool" label="30035" default="true" visible="eq(-2,0)"/>
<setting id="backup_database" type="bool" label="30032" default="true" visible="eq(-3,0)"/> <setting id="backup_database" type="bool" label="30032" default="true" visible="eq(-3,0)"/>
<setting id="backup_playlists" type="bool" label="30033" default="true" visible="eq(-4,0)"/> <setting id="backup_game_saves" type="bool" label="30133" default="false" visible="eq(-4,0)" />
<setting id="backup_profiles" type="bool" label="30080" default="false" visible="eq(-5,0)"/> <setting id="backup_playlists" type="bool" label="30033" default="true" visible="eq(-5,0)"/>
<setting id="backup_thumbnails" type="bool" label="30034" default="true" visible="eq(-6,0)"/> <setting id="backup_profiles" type="bool" label="30080" default="false" visible="eq(-6,0)"/>
<setting id="backup_config" type="bool" label="30035" default="true" visible="eq(-7,0)"/> <setting id="backup_thumbnails" type="bool" label="30034" default="true" visible="eq(-7,0)"/>
<setting id="advanced_button" type="action" label="Select Files" visible="eq(-8,1)" action="RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=advanced_editor)" /> <setting id="backup_addons" type="bool" label="30030" default="true" visible="eq(-8,0)" />
<setting id="advanced_defaults" type="action" label="Copy Simple Config" visible="eq(-9,1)" action="RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=advanced_copy_config)" /> <setting id="advanced_button" type="action" label="Select Files" visible="eq(-9,1)" action="RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=advanced_editor)" />
<setting id="advanced_defaults" type="action" label="Copy Simple Config" visible="eq(-10,1)" action="RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=advanced_copy_config)" />
</category> </category>
<category id="scheduling" label="30013"> <category id="scheduling" label="30013">
<setting id="enable_scheduler" type="bool" label="30060" default="false" /> <setting id="enable_scheduler" type="bool" label="30060" default="false" />