mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
Merge branch 'master' into krypton
This commit is contained in:
commit
c8f148cd1a
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="script.xbmcbackup"
|
<addon id="script.xbmcbackup"
|
||||||
name="Backup" version="1.1.2" provider-name="robweber">
|
name="Backup" version="1.1.3" provider-name="robweber">
|
||||||
<requires>
|
<requires>
|
||||||
<!-- jarvis -->
|
<!-- jarvis -->
|
||||||
<import addon="xbmc.python" version="2.25.0"/>
|
<import addon="xbmc.python" version="2.25.0"/>
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Version 1.1.3
|
||||||
|
|
||||||
|
added file chunk support for dropbox uploads
|
||||||
|
fixed settings duplicate ids, thanks aster-anto
|
||||||
|
|
||||||
Version 1.1.2
|
Version 1.1.2
|
||||||
|
|
||||||
added fixes to the Dropbox lib for python 2.6
|
added fixes to the Dropbox lib for python 2.6
|
||||||
|
@ -129,14 +129,6 @@ msgctxt "#30035"
|
|||||||
msgid "Config Files"
|
msgid "Config Files"
|
||||||
msgstr "Config Files"
|
msgstr "Config Files"
|
||||||
|
|
||||||
msgctxt "#30036"
|
|
||||||
msgid "Custom Directory 1"
|
|
||||||
msgstr "Custom Directory 1"
|
|
||||||
|
|
||||||
msgctxt "#30037"
|
|
||||||
msgid "Custom Directory 2"
|
|
||||||
msgstr "Custom Directory 2"
|
|
||||||
|
|
||||||
msgctxt "#30038"
|
msgctxt "#30038"
|
||||||
msgid "Advanced Settings Detected"
|
msgid "Advanced Settings Detected"
|
||||||
msgstr "Advanced Settings Detected"
|
msgstr "Advanced Settings Detected"
|
||||||
|
@ -473,6 +473,14 @@ class XbmcBackup:
|
|||||||
#remove the validation file
|
#remove the validation file
|
||||||
xbmcvfs.delete(xbmc.translatePath(utils.data_dir() + "xbmcbackup.val"))
|
xbmcvfs.delete(xbmc.translatePath(utils.data_dir() + "xbmcbackup.val"))
|
||||||
|
|
||||||
|
if(success):
|
||||||
|
#android requires a .nomedia file to not index the directory as media
|
||||||
|
if(not xbmcvfs.exists(xbmc.translatePath(utils.data_dir() + ".nomedia"))):
|
||||||
|
nmFile = xbmcvfs.File(xbmc.translatePath(utils.data_dir() + ".nomedia"),'w')
|
||||||
|
nmFile.close()
|
||||||
|
|
||||||
|
success = self.remote_vfs.put(xbmc.translatePath(utils.data_dir() + ".nomedia"),self.remote_vfs.root_path + ".nomedia")
|
||||||
|
|
||||||
return success
|
return success
|
||||||
|
|
||||||
def _checkValidationFile(self,path):
|
def _checkValidationFile(self,path):
|
||||||
|
Loading…
Reference in New Issue
Block a user