Commit Graph

94 Commits

Author SHA1 Message Date
Rob Weber
f5bd7130e2 don't need this import anymore 2019-09-30 09:45:03 -05:00
Rob Weber
ae76d24e86 use linux path seperator (/), was causing remote file system issues using os.path 2019-09-30 09:44:18 -05:00
Rob Weber
4d56331d8f fix for getting val file from non-zipped remote system 2019-09-30 09:33:06 -05:00
Rob Weber
a4bb3f3feb completely changed this class, default no longer matters. Just restore settings that differ from current, ignore default flags closes #154 2019-09-11 10:02:45 -05:00
Rob Weber
1f6324b2d5 use path separators for os 2019-09-11 08:58:21 -05:00
Rob
5d9d8a1820
Guisettings fix (#156)
fix guisettings restore issues - thanks Bluerayx
2019-09-10 15:36:52 -05:00
Rob
865416977d
Update for Leia (#117)
* 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
2019-08-26 15:40:15 -05:00
Rob Weber
2e7080fef8 add no media file, part of #135 2018-02-12 08:46:54 -06:00
Rob Weber
2c634f9250 exclude packages dir by default, not needed closes #102 2017-02-10 15:19:22 -06:00
Rob Weber
94f0887393 fixes #99 2017-01-31 15:02:03 -06:00
Rob Weber
d0028d440c wonder how long this has been there, fixes #82 2017-01-05 09:10:11 -06:00
Rob Weber
3e38f992b5 added extractor progress bar and additional progress info 2015-06-26 15:32:22 -05:00
Rob Weber
97a977c721 minor fixes 2015-06-19 14:30:45 -05:00
Rob Weber
7ed70ca9cb delete the validation file after it was copied 2015-06-19 12:49:28 -05:00
Andrew Brock
6786a233e0 Fix zip files getting an extra copy of each file on each run of the scheduler 2015-05-06 21:36:50 +10:00
Rob Weber
f0cce73851 Merge branch 'master' into helix_google_drive
Conflicts:
	resources/language/English/strings.xml
2015-04-24 09:28:05 -05:00
Rob Weber
49f6b176e8 exit if we can't delete the old archive 2015-03-26 10:38:51 -05:00
Rob Weber
f887df0197 folder should be Kodi Backup 2014-11-21 14:17:48 -06:00
Rob Weber
16f4d4073a weird space we don't need 2014-11-21 13:42:39 -06:00
Rob Weber
fec65afc8f Merge branch 'google_drive' into helix_google_drive
Conflicts:
	resources/lib/backup.py
2014-11-21 13:42:12 -06:00
Rob Weber
d9e31e32ad reworked strings again, insert "mode" into gui 2014-11-21 13:25:19 -06:00
Rob Weber
138047bd32 Kodi requires slash on directory "exists" 2014-11-21 10:44:53 -06:00
Rob Weber
e803573340 dropbox unicode error 2014-11-10 12:40:29 -06:00
Rob Weber
744ba77251 updated for new file write checks 2014-11-05 08:47:47 -06:00
Rob Weber
8473542aaf Merge branch 'master' into google_drive
Conflicts:
	resources/language/English/strings.xml
	resources/lib/backup.py
2014-11-05 08:40:07 -06:00
Rob Weber
0b6a3ae506 restore xbmc allowed settings via json 2014-10-31 11:40:47 -05:00
Rob Weber
2fc26b6e8c show notification if files failed to copy 2014-10-31 09:56:02 -05:00
Rob Weber
9e5873fcb7 check if destination is writeable 2014-10-31 09:50:37 -05:00
robweber
b0ecaa8416 Merge pull request #57 from robweber/master
Update from Master
2014-10-24 15:27:27 -05:00
Rob Weber
f8c00b473f added userdata/library to config path 2014-10-23 09:41:10 -05:00
Rob Weber
64ae75252f some spacing 2014-10-10 08:50:29 -05:00
Rob Weber
cf40edad79 use 'xbmc backup' as root directory 2014-10-09 14:42:59 -05:00
Rob Weber
e316e82013 create google file system 2014-10-09 14:40:05 -05:00
Rob Weber
08be62b4ec typo 2014-10-08 13:01:44 -05:00
Rob Weber
f0a6b3351a missed a translate path 2014-10-07 11:21:47 -05:00
Rob Weber
64d788e9f7 add full path since it will be trimmed later 2014-10-06 15:55:57 -05:00
Rob Weber
91af11c9f7 need to expand out home path 2014-10-05 14:20:23 -05:00
Rob Weber
eb2f5dce74 use "special://" as root and translate before writes 2014-08-08 10:37:16 -05:00
Rob Weber
d69a1b2d27 delete old file, if it exists 2014-08-04 19:58:56 -05:00
Rob Weber
a1c91ef51c updated strings for zip notifications 2014-08-01 14:36:10 -05:00
Rob Weber
45b6cea057 best test we can do for zip file without looking in them 2014-08-01 14:32:29 -05:00
Rob Weber
f249ea1583 cosmetics 2014-08-01 14:15:27 -05:00
Rob Weber
9945dc628e don't write to filesystem, use addFile 2014-08-01 14:14:40 -05:00
Rob Weber
1255283f4d should clean up zip resources after extract 2014-08-01 14:03:03 -05:00
Rob Weber
b3bbdd6911 need to reset vfs to default root dirs before copying zip 2014-08-01 13:54:22 -05:00
Rob Weber
5dfa9d9b76 old logging and misssed name 2014-08-01 13:14:47 -05:00
Rob Weber
545843e949 need to treat backup zips as files 2014-08-01 13:12:43 -05:00
Rob Weber
647bd8811b don't need these checks anymore 2014-08-01 13:06:35 -05:00
Rob Weber
e6215dde51 read/write zip to temp directory 2014-08-01 13:05:58 -05:00
Rob Weber
9a89066e66 can restore full file tree 2014-08-01 12:57:55 -05:00