From 8ac5da3b66a6ae8b6350762cede937bad9bf430c Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 29 Dec 2017 13:27:17 -0600 Subject: [PATCH 1/3] version bump --- addon.xml | 2 +- changelog.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/addon.xml b/addon.xml index 841ac52..dd4944a 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@  + name="Backup" version="1.1.3" provider-name="robweber"> diff --git a/changelog.txt b/changelog.txt index fa1fb6b..52015dd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +Version 1.1.3 + +added file chunk support for dropbox uploads + Version 1.1.2 added fixes to the Dropbox lib for python 2.6 From e148bd4894574388b288d9ad2170642302695827 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Tue, 23 Jan 2018 08:25:58 -0600 Subject: [PATCH 2/3] part of #134 --- changelog.txt | 1 + resources/settings.xml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 52015dd..69e0ee9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,7 @@ Version 1.1.3 added file chunk support for dropbox uploads +fixed settings duplicate ids, thanks aster-anto Version 1.1.2 diff --git a/resources/settings.xml b/resources/settings.xml index 58c1ca7..6f85c80 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -13,8 +13,8 @@ - - + + From 2e7080fef847aab9960da59f5d6e66c12a008fe4 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Mon, 12 Feb 2018 08:46:54 -0600 Subject: [PATCH 3/3] add no media file, part of #135 --- resources/lib/backup.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index d4c2c0b..907a41b 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -544,6 +544,14 @@ class XbmcBackup: #remove the validation file 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