This commit is contained in:
sfaulds 2016-11-03 16:46:50 +11:00
commit 464b1d4c79
2 changed files with 2 additions and 2 deletions

View file

@ -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__)

View file

@ -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: