mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
865416977d
* updated addon.xml for Krypton * default log level is always debug now * added screenshots per krypton format * started new way of defining backup directories * reconfigured simple backup process * added an advanced backup editor and combined settings.xml scripts into a launcher * added strings for advanced editor * there was a function to do this * match excluded with regex * updated def for the addons set * directory has to end in slash to use exists() * added a backup set chooser on restore * added string for restore browser * utilize details to show root folder and icons * save non translated paths, better cross platform support * revert dropbox python 2.6 changes * start of #132 * can't have duplicate ids * updated strings * closes #132 * added a disclaimer for breaking changes * split backup and restore into separate functions * updated scripting to pass in list of sets to restore * beta version * added 2 min delay in startup - part of #147 * forgot to remove debug message * change to wait for abort in case someone tries to close Kodi * add retroplayer game saves to default file list * display restore points with most recent on top * remove length check, breaking change with this version means old archives are no longer compatible * format restore list according to regional settings * this function isn't used anymore, legacy of old file manager * use images folder as default * added note about compatibility * added utils function for regional date, use for scheduler notifications as well * add/remove include and exclude directories to a set * paths should have / at the end * show path relative to root * if in advanced mode allow jumping to editor from launch screen * check that path is within root folder of set * cannot have duplicate set names or rules regarding folders within a set * put strings in correct lang file * beta version bump * accidentally deleted string id * change exclude criteria. Regex was not matching in complex cases * make sure the dest folder (backup set root) exists before writing to it * modify select display to show recursive value for included folders * use a context menu here * added ability to toggle recursion of sub folders * beta 3 * added support doc * wrong branch * don't need this import anymore * don't need these imports * part of #133
44 lines
4.0 KiB
XML
44 lines
4.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<settings>
|
|
<category id="general" label="30011">
|
|
<setting id="compress_backups" type="bool" label="30087" default="false" />
|
|
<setting id="backup_rotation" type="number" label="30026" default="0" />
|
|
<setting id="progress_mode" type="enum" label="30022" lvalues="30082|30083|30084" default="0" />
|
|
<setting id="upgrade_notes" type="number" label="upgrade_notes" visible="false" default="0" />
|
|
</category>
|
|
<category id="backup_path" label="30048">
|
|
<setting id="remote_selection" type="enum" lvalues="30018|30019|30027|30098" default="0" label="30025"/>
|
|
<setting id="remote_path_2" type="text" label="30024" default="" visible="eq(-1,1)" />
|
|
<setting id="remote_path" type="folder" label="30020" visible="eq(-2,0)" />
|
|
<setting id="dropbox_key" type="text" label="30028" visible="eq(-3,2)" default="" />
|
|
<setting id="dropbox_secret" type="text" label="30029" visible="eq(-4,2)" default="" />
|
|
<setting id="google_drive_id" type="text" label="Client ID" visible="eq(-5,3)" default="" />
|
|
<setting id="google_drive_secret" type="text" label="Client Secret" visible="eq(-6,3)" default="" />
|
|
<setting id="auth_dropbox_button" type="action" label="30104" action="RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=authorize_cloud&provider=dropbox)" visible="eq(-7,2)"/>
|
|
<setting id="auth_google_button" type="action" label="30104" action="RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=authorize_cloud&provider=google_drive)" visible="eq(-8,3)"/>
|
|
<setting id="remove_auth_button" type="action" label="30093" action="RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=remove_auth)" visible="gt(-9,1)"/>
|
|
</category>
|
|
<category id="selection" label="30012">
|
|
<setting id="backup_selection_type" type="enum" lvalues="30014|30015" default="0" label="30023" />
|
|
<setting id="backup_addon_data" type="bool" label="30031" default="false" visible="eq(-1,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_game_saves" type="bool" label="30133" default="false" visible="eq(-4,0)" />
|
|
<setting id="backup_playlists" type="bool" label="30033" default="true" visible="eq(-5,0)"/>
|
|
<setting id="backup_profiles" type="bool" label="30080" default="false" visible="eq(-6,0)"/>
|
|
<setting id="backup_thumbnails" type="bool" label="30034" default="true" visible="eq(-7,0)"/>
|
|
<setting id="backup_addons" type="bool" label="30030" default="true" visible="eq(-8,0)" />
|
|
<setting id="advanced_button" type="action" label="30125" visible="eq(-9,1)" action="RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=advanced_editor)" />
|
|
<setting id="advanced_defaults" type="action" label="30139" visible="eq(-10,1)" action="RunScript(special://home/addons/script.xbmcbackup/launcher.py,action=advanced_copy_config)" />
|
|
</category>
|
|
<category id="scheduling" label="30013">
|
|
<setting id="enable_scheduler" type="bool" label="30060" default="false" />
|
|
<setting id="schedule_interval" type="enum" label="30061" lvalues="30079|30072|30073|30074|30075" default="1" enable="eq(-1,true)"/>
|
|
<setting id="schedule_time" type="labelenum" label="30062" values="00:00|01:00|02:00|03:00|04:00|05:00|06:00|07:00|08:00|09:00|10:00|11:00|12:00|13:00|14:00|15:00|16:00|17:00|18:00|19:00|20:00|21:00|22:00|23:00" default="00:00" visible="!eq(-1,4)" enable="eq(-2,true)"/>
|
|
<setting id="day_of_week" type="enum" label="30063" lvalues="30065|30066|30067|30068|30069|30070|30071" default="0" visible="eq(-2,2)" enable="eq(-3,true)"/>
|
|
<setting id="cron_schedule" type="text" label="30064" default="0 0 * * *" visible="eq(-3,4)" enable="eq(-4,true)"/>
|
|
<setting id="schedule_miss" type="bool" label="30109" default="false" enable="eq(-5,true)" />
|
|
<setting id="cron_shutdown" type="bool" label="30076" default="false" enable="eq(-6,true)" />
|
|
</category>
|
|
</settings>
|