diff --git a/resources/lib/ga_client.py b/resources/lib/ga_client.py index 1768d1ac..29bcee7b 100644 --- a/resources/lib/ga_client.py +++ b/resources/lib/ga_client.py @@ -9,7 +9,7 @@ import xbmc import platform import xbmcgui import time -from utils import settings, language as lang +from utils import window, settings, language as lang log = logging.getLogger("EMBY."+__name__) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 420c4a7f..e2495ef7 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -227,7 +227,7 @@ def querySQL(query, args=None, cursor=None, conntype=None): def getScreensaver(): # Get the current screensaver value - result = JSONRPC('Settings.getSettingValues').execute({'setting': "screensaver.mode"}) + result = JSONRPC('Settings.getSettingValue').execute({'setting': "screensaver.mode"}) try: return result['result']['value'] except KeyError: