From 65d10e22d9714b40b808c91cada8337b379ff83b Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Tue, 6 Jan 2015 15:28:50 -0600 Subject: [PATCH 1/3] fixed xbmc.python import --- addon.xml | 4 ++-- changelog.txt | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/addon.xml b/addon.xml index 56424b7..10d9e08 100644 --- a/addon.xml +++ b/addon.xml @@ -1,8 +1,8 @@  + name="Backup" version="1.0.2" provider-name="robweber"> - + executable diff --git a/changelog.txt b/changelog.txt index 3381436..d04ee1d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +Version 1.0.2 + +updated xbmc.python version to 2.19.0 - should be helix only + Version 1.0.0 rebranded as "Backup" From 6de7ccaddfbadb3a8f09d8b967ad0ba9d6fafd59 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 13 Feb 2015 09:28:55 -0600 Subject: [PATCH 2/3] closes #63 --- remove_auth.py | 11 +++++++++++ resources/language/English/strings.xml | 3 +++ resources/settings.xml | 1 + 3 files changed, 15 insertions(+) create mode 100644 remove_auth.py diff --git a/remove_auth.py b/remove_auth.py new file mode 100644 index 0000000..b76d43d --- /dev/null +++ b/remove_auth.py @@ -0,0 +1,11 @@ +import xbmc +import xbmcgui +import xbmcvfs +import resources.lib.utils as utils + +#triggered from settings.xml - asks if user wants to delete OAuth token information +shouldDelete = xbmcgui.Dialog().yesno(utils.getString(30093),utils.getString(30094),utils.getString(30095),autoclose=7000) + +if(shouldDelete): + #delete any of the known token file types + xbmcvfs.delete(xbmc.translatePath(utils.data_dir() + "tokens.txt")) #dropbox diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 90762aa..c5c8e27 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -84,4 +84,7 @@ The destination may not be writeable Zip archive could not be copied Not all files were copied + Delete Authorization Info + This will delete any OAuth token files + Do you want to do this? diff --git a/resources/settings.xml b/resources/settings.xml index f3aaa6b..d9396b3 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -6,6 +6,7 @@ + From d62f8294212f0286fc036f842411203fa3b024f1 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 13 Feb 2015 09:33:23 -0600 Subject: [PATCH 3/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 10d9e08..f765c8e 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@  + name="Backup" version="1.0.3" provider-name="robweber"> diff --git a/changelog.txt b/changelog.txt index d04ee1d..e460b78 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +Version 1.0.3 + +added "delete auth" dialog to delete oauth files in settings + Version 1.0.2 updated xbmc.python version to 2.19.0 - should be helix only