From 7fb957a78829411405f19d792d54f045d42dd52c Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 10 Sep 2016 18:21:27 -0500 Subject: [PATCH] Fix typo in settings path --- resources/lib/connectmanager.py | 2 +- resources/lib/utils.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/connectmanager.py b/resources/lib/connectmanager.py index 848b9d95..ae64feae 100644 --- a/resources/lib/connectmanager.py +++ b/resources/lib/connectmanager.py @@ -44,7 +44,7 @@ class ConnectManager(object): deviceName=device_name, deviceId=device_id) self._connect.setFilePath(xbmc.translatePath( - "special://profile/addon_data/").decode('utf-8')) + "special://profile/addon_data/plugin.video.emby").decode('utf-8')) self.state = self._connect.connect() log.info("Started with: %s", self.state) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 8f1990cf..561d27df 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -411,10 +411,10 @@ def reset(): import connectmanager # Delete the settings addon = xbmcaddon.Addon() - addondir = xbmc.translatePath("special://profile/addon_data/").decode('utf-8') + addondir = xbmc.translatePath( + "special://profile/addon_data/plugin.video.emby/").decode('utf-8') dataPath = "%ssettings.xml" % addondir xbmcvfs.delete(dataPath) - log.info("Deleting: settings.xml") connectmanager.ConnectManager().clear_data() dialog.ok(heading=language(29999), line1=language(33088))