Commit Graph

315 Commits

Author SHA1 Message Date
Rob Weber
2ac05ab042 make this text more specific 2014-11-21 10:44:42 -06:00
Rob Weber
b91591ec05 changed XBMC to Kodi references 2014-11-21 10:38:44 -06:00
Rob Weber
e803573340 dropbox unicode error 2014-11-10 12:40:29 -06:00
Rob Weber
c578fe15d8 create a .restored version of guisettings 2014-11-10 12:33:55 -06:00
Rob Weber
744ba77251 updated for new file write checks 2014-11-05 08:47:47 -06:00
Rob Weber
fae5a052c7 string id changed 2014-11-05 08:47:30 -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
9246c9b586 vfs should return encoded dirs/files 2014-10-10 08:49:21 -05:00
Rob Weber
e90c8e7803 slight changes so mkdir works 2014-10-09 15:19:24 -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
9c73b5b0b8 added google drive to settings 2014-10-09 14:34:33 -05:00
Rob Weber
74cb8c2b28 added google drive vfs 2014-10-09 14:30:39 -05:00
Rob Weber
c36df5ade9 pydrive license 2014-10-09 11:32:15 -05:00
Rob Weber
0df7364bea added pydrive files 2014-10-09 11:31:38 -05:00
Rob Weber
3e32882afc shouldn't always be logging this 2014-10-08 15:08:35 -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
53ddc92325 use zip64 2014-10-05 14:06:32 -05:00
Rob Weber
eb2f5dce74 use "special://" as root and translate before writes 2014-08-08 10:37:16 -05:00
Rob Weber
b14fda20fb write the file based on the true source xbmcvfs.File 2014-08-08 10:26:39 -05:00
Rob Weber
38cc67a54d don't need to encode file path, just the name 2014-08-04 20:14:49 -05:00
Rob Weber
d69a1b2d27 delete old file, if it exists 2014-08-04 19:58:56 -05:00
Rob Weber
d7a0e622be try and encode filenames before writing to zip 2014-08-04 15:40:14 -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
Rob Weber
c28f9fd26b will copy zip file from remote to dest 2014-08-01 12:37:57 -05:00
Rob Weber
933fdbdf09 copy zip file and open in write mode 2014-07-31 17:29:59 -05:00
Rob Weber
c49aebeba1 list zip files for restore 2014-07-31 16:02:53 -05:00
Rob Weber
525dd8ff86 delete temp zip file when done 2014-07-31 15:20:22 -05:00
Rob Weber
19fcb8bd46 created zip vfs, will create and copy directories to remote share 2014-07-30 15:16:58 -05:00
Rob Weber
24385a2c68 don't write to remote directly, use file manager 2014-07-30 13:41:54 -05:00
Rob Weber
6dc23de55b updated language files 2014-07-29 09:11:37 -05:00
Rob Weber
2365649f86 fixes #53 2014-07-29 08:43:34 -05:00
robweberjr@gmail.com
ee435a90ef attempted fix for Dropbox file recursion 2014-06-03 13:34:02 -05:00
robweberjr@gmail.com
23b70af3dc closes #51 2014-05-06 13:44:00 -05:00
robweberjr@gmail.com
6f34d39822 updated progress bar display - needed new class 2014-03-31 13:16:11 -05:00
robweberjr@gmail.com
290446c3a8 fixed error in backup rotation 2014-03-31 12:37:11 -05:00
robweber
3a25c1c4eb Merge pull request #48 from robweber/scripting_updates
Scripting Updates
2014-03-31 11:58:34 -05:00
NEOhidra
450687ba5d updated Bulgarian translation 2014-03-23 10:28:32 +02:00
robweberjr@gmail.com
7f42129606 added home window properties 2014-03-18 13:48:53 -05:00
Rob Weber
2bec306892 Merge branch 'master' into gotham-dev
Conflicts:
	addon.xml
	changelog.txt
2014-02-09 14:09:57 -06:00
Rob Weber
405bbc08b5 added hour and minute to backup folder names 2014-02-09 13:56:25 -06:00
Rob Weber
775a5aeda2 Merge branch 'master' into gotham-dev
Conflicts:
	addon.xml
	changelog.txt
	resources/lib/utils.py
2014-01-23 12:53:30 -06:00
Rob Weber
e185ddf131 attempted fix for unicode errors on logging 2014-01-23 12:47:21 -06:00
Rob Weber
b0b611b5c9 added version info to logs 2014-01-20 13:04:50 -06:00
Rob Weber
4fcd40c745 added version info to logs 2014-01-20 13:02:29 -06:00
Rob Weber
e3be458a28 use xbmcgui.notification() part of #36 2014-01-20 12:48:23 -06:00
Rob Weber
987d90de12 added options for background progress bar. part of #36 2014-01-20 12:42:49 -06:00
Rob Weber
4dd6c90ab9 modified directories not backing up - thanks bertel333 2014-01-12 10:12:09 -06:00
Rob Weber
d28596728b fixes #39 2013-12-05 14:26:35 -06:00
Rob Weber
25a9faed9a string lost during lang merge 2013-12-05 14:24:06 -06:00
Rob Weber
968248aaaf added support for userdata/profiles folder 2013-10-21 08:59:04 -05:00
Rob Weber
2b14f23a1d should encode() all strings before displaying notification fixes #33 2013-10-01 13:22:03 -05:00
Rob Weber
1a4e64572a fixed settings display error 2013-09-16 08:16:55 -05:00
Rob Weber
1c7fdeb5a7 updated lang files 2013-09-09 14:07:27 -05:00
Rob Weber
dcfb5a1f89 add notification when schedule changes 2013-08-25 11:22:10 -05:00
Rob Weber
f028bffca4 added setting for 'one-off' schedules 2013-08-25 10:58:23 -05:00
Rob Weber
a7044cd17c added new strings 2013-05-09 14:35:31 -05:00
Rob Weber
af11c1a990 check for advanced settings and restart xbmc to continue (#30) 2013-05-09 14:24:10 -05:00
rob
7ed09f3715 missed some new language strings 2013-04-01 11:28:29 -05:00
rob
ff4cbf5493 updated lang files 2013-04-01 11:17:00 -05:00
Rob Weber
47f4b16571 added check for backup verification before delete 2013-03-04 11:41:07 -06:00
Rob Weber
d1620f116c updated support documents and language strings 2013-03-04 11:05:59 -06:00
Rob Weber
27a4554ffa added program support for 2 custom dirs 2013-03-04 11:03:25 -06:00
Rob Weber
92a672e1ad updated settings.xml to 2 custom sources with enable/disable 2013-03-04 10:33:27 -06:00
Rob Weber
db7f7a02f5 return boolean on complete (match super class) 2013-03-04 10:27:25 -06:00
Rob Weber
7e703ca08c fixed Dropbox VFS 2013-03-04 10:22:09 -06:00
Rob Weber
625de8fa71 updated readme and version 2013-01-29 11:32:47 -06:00
Rob Weber
1357d45945 preliminary restore support 2013-01-29 11:00:16 -06:00
Rob Weber
9165f8b2dc added backup rotation 2013-01-29 10:38:08 -06:00
Rob Weber
2d123318d9 got progress bar to work correctly again 2013-01-29 10:34:48 -06:00
Rob Weber
052cd1a062 can now backup custom directories - other functions stripped out for now 2013-01-28 15:44:22 -06:00
Rob Weber
cfdc3694ef Merge branch 'master' of https://github.com/robweber/xbmcbackup into testing 2013-01-18 15:00:16 -06:00
Rob Weber
e582be4c7b added message to create Dropbox key/secret 2012-12-30 15:18:59 -06:00
Rob Weber
361be97e34 vfs.py should pull dropbox info from settings 2012-12-28 19:06:12 -06:00
Rob Weber
e32383c9ed added dropbox key/secret settings 2012-12-28 19:03:24 -06:00
Rob Weber
e40e6c685d support for quitting xbmc after scheduled backup 2012-12-13 15:11:25 -06:00
Rob Weber
46cd3c6731 remove token file if Dropbox authorization revoked 2012-12-13 14:18:14 -06:00
Rob Weber
9fe364ef86 testing branch 2012-12-11 14:18:35 -06:00
Rob Weber
018a1a1e82 added multiple encoding try/except block 2012-12-11 13:39:13 -06:00
Rob Weber
52b6b74b9e removed unneeded variable 2012-11-28 10:19:37 -06:00
Rob Weber
042ed51ef3 allow user to choose restore point 2012-11-28 10:19:03 -06:00
Rob Weber
16e55bdd23 removed references .ready() no longer needed 2012-11-28 09:57:34 -06:00
Rob Weber
f6cac868d7 added more info to progress bar 2012-11-28 09:37:37 -06:00
Rob Weber
4ff0e49d82 Merge branch 'dropbox'
Conflicts:
	addon.xml
	changelog.txt
	resources/lib/backup.py
	resources/settings.xml
2012-11-28 09:33:47 -06:00
Rob Weber
1f25e11c93 modified backup class to display more info 2012-11-28 08:56:58 -06:00
Rob Weber
18c85870ec moved mode selection to gui 2012-11-28 08:54:23 -06:00
Rob Weber
738033897f Merge remote-tracking branch 'remotes/origin/frodo-dev'
Conflicts:
	addon.xml
	changelog.txt
2012-11-16 09:09:39 -06:00
Rob Weber
c6b8356d61 updated translations 2012-11-15 16:56:23 -06:00
Rob Weber
7f6510282a merge with translations 2012-11-07 20:20:48 -06:00
robweber
4f6128b39c fixed copy() with put() 2012-11-06 15:12:14 -06:00
robweber
da5d98a344 updated strings.xml 2012-11-06 13:09:33 -06:00
robweber
be7aea90bb added "restore" to Dropbox functions 2012-11-06 11:37:39 -06:00
robweber
535cd43e8a updated dropbox methods - listdir now works 2012-11-05 15:46:17 -06:00
robweber
5b6b5d6c9a implemented mkdir, exists, and copy for dropbox vfs
removed "dropbox path" setting
2012-11-05 12:25:25 -06:00
robweber
33e10c2a61 fixed backup rotation 2012-11-05 11:13:48 -06:00
Rob Weber
cb6fdd7efe finished xbmcvfs wrapper, started dropbox wrapper 2012-11-04 14:39:17 -06:00
robweber
6c20e3a3ad started on VFS files 2012-11-02 15:59:40 -05:00
robweber
e600703c94 fixes #20 2012-11-02 15:24:45 -05:00
robweber
9eb857396a modified backup.py to test dropbox api
added start of vfs.py to abstract file repos
2012-10-26 09:42:10 -05:00
robweber
9bc0c27ccf created dummy pkg_resource.py file so that dropbox api will work 2012-10-26 09:31:08 -05:00
robweber
d3eab55f8a moved dropbox library 2012-10-26 09:30:50 -05:00
robweber
5ec8770057 added method to return addon path 2012-10-26 09:17:21 -05:00
robweber
4749978adb test of dropbox import 2012-10-22 15:02:30 -05:00
robweber
1321e244a7 added dropbox resource files 2012-10-22 14:34:12 -05:00
robweber
ad2ddfa22f added dropbox settings 2012-10-22 14:33:53 -05:00
robweber
5caeff23c9 restored __init__.py files 2012-10-22 13:53:01 -05:00
robweber
7bed37a6c2 Merge pull request #18 from robweber/master
Merge Master with Frodo
2012-10-16 07:35:33 -07:00
dersphere
a03302c769 updated german translation 2012-10-13 00:01:17 +02:00
robweber
28e3d08f0c added string value for backup rotation setting 2012-09-28 09:15:20 -05:00
robweber
272ea8b8a9 added backup rotation closes #10 2012-09-19 11:43:36 -05:00
robweber
a3724657c7 Merge branch 'master' of https://github.com/robweber/xbmcbackup into frodo-dev 2012-09-13 09:54:03 -05:00
robweber
2fd7b130c7 added check to settings.xml before loading new cron timer
fixed bug where disabling scheduler did not turn it off
2012-09-13 09:52:17 -05:00
robweber
dd39dc182e forgot utils import 2012-09-12 15:34:13 -05:00
robweber
719a189de6 Merge branch 'master' into frodo-dev
Conflicts:
	addon.xml
	changelog.txt
	default.py
	resources/lib/backup.py
2012-09-12 15:30:54 -05:00
robweber
2cf9356f9c created backup.py in prep for pull from master 2012-09-12 15:03:46 -05:00
robweber
17a4e8ad3d refactored code to use strings.xml 2012-09-12 10:02:33 -05:00
robweber
9bda2055b3 added call to XbmcBackup.run() in service.py file
added showNotification() method so that a notification can display when backup starts via scheduler
2012-09-06 15:28:41 -05:00
robweber
0bb915ae3a added initial resources for scheduler.py to function
starte settings.xml modifications for timer intervals
2012-09-05 15:50:25 -05:00
robweber
0150e6a277 created utils library to avoid duplicate functions
pulled XbmcBackup class into separate library
2012-09-05 14:28:43 -05:00
robweber
cb115e42fb created stub for new addon settings 2012-09-04 10:42:17 -05:00
robweber
e4f25f174f removed VFS library, now using xbmcvfs exclusively 2012-08-20 14:27:35 -05:00
robweber
1e5a524ae3 changed backup behavior, all backups now create dated folder within backup location
restore operation now prompts for the date of the backup you wish to restore from
2012-08-17 14:59:47 -05:00
robweber
26c99723bf added global log and encode functions to combat ascii encoding errors 2012-08-17 14:18:08 -05:00
robweber
6059612001 added French translations for new strings - thanks mikebzh44! 2012-08-10 07:58:23 -05:00
robweber
940ddabe59 Removed setting for "verbose logging". Instead the global xbmc debug logging flag is used to toggle normal vs debug type logging. 2012-08-07 09:36:07 -05:00
sphere
db253a5022 german translation 2012-08-05 12:39:45 +02:00
robweber
7ca7912749 adding hardcoded strings to strings.xml - not fully localized yet 2012-08-03 15:44:02 -05:00
robweber
c409bf01a4 French translations 2012-08-02 07:49:07 -05:00
robweber
1e41f75df4 added french language translations and new icon - Thanks to mikebzh44 2012-08-01 14:49:40 -05:00
robweber
934f9b63e8 added check for key in vfs.py - Thanks Martijn! 2012-07-26 12:48:14 -05:00
robweber
7b582072bd Added verbose logging setting
modified vfs.py to filter out compressed files that xbmc treats as directories by default
2012-07-18 10:27:00 -05:00
robweber
842f56afd1 added catch so zip files are not treated as directories and also imported urllib to parse zip file names correctly 2012-05-23 16:03:04 -05:00
Rob Weber
ce7a2acb90 filter out zipped files (caused errors) 2012-05-22 21:16:01 -05:00
robweber
c5008dd84d this one too 2012-04-30 07:53:07 -05:00
robweber
20b15eb051 these were missed in the last commit 2012-04-30 07:52:22 -05:00
robweber
1d320cd601 added enum setting to make setting the remote path more understandable 2012-04-28 14:46:42 -05:00
robweber
b6d78ea77b re-ordered settings so that the precedence makes more sense 2012-04-25 10:38:35 -05:00
Rob Weber
59896ac0bf added ability to type a remote path as well as browse to one
check remote paths before writing to them
2012-04-23 21:04:03 -05:00
Rob Weber
0b0d8dab3f finished restore code
moved "mode" to the top of the settings screen
2012-04-22 15:58:39 -05:00
robweber
f520d58c6b added a "restore.txt" document that can be used to reverse the flow from remote to local.
Added restore mode in settings
2012-04-21 17:18:41 -05:00
robweber
27265ad340 Added progress bar and "silent" for running via the RunScript() xbmc function 2012-04-20 13:32:25 -05:00
robweber
ba02c0291e deleted these 2012-04-19 18:41:47 -05:00
Rob Weber
b307ceed57 Thought I did this last time - string should be there now 2012-04-19 18:11:04 -05:00
Rob Weber
a1a310ac0e added the English strings files 2012-04-19 18:09:12 -05:00
robweber
3fa30e407a used xbmcvfs to use xbmc functions for actual file copy
added options to selectively copy certain folders
2012-04-19 16:13:50 -05:00
robweber
c39b5d540a first commit - kind of works 2012-04-17 16:03:45 -05:00