mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
Merge branch 'develop' of https://github.com/MediaBrowser/plugin.video.emby into develop
This commit is contained in:
commit
464b1d4c79
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ import xbmc
|
||||||
import platform
|
import platform
|
||||||
import xbmcgui
|
import xbmcgui
|
||||||
import time
|
import time
|
||||||
from utils import settings, language as lang
|
from utils import window, settings, language as lang
|
||||||
|
|
||||||
log = logging.getLogger("EMBY."+__name__)
|
log = logging.getLogger("EMBY."+__name__)
|
||||||
|
|
||||||
|
|
|
@ -227,7 +227,7 @@ def querySQL(query, args=None, cursor=None, conntype=None):
|
||||||
|
|
||||||
def getScreensaver():
|
def getScreensaver():
|
||||||
# Get the current screensaver value
|
# Get the current screensaver value
|
||||||
result = JSONRPC('Settings.getSettingValues').execute({'setting': "screensaver.mode"})
|
result = JSONRPC('Settings.getSettingValue').execute({'setting': "screensaver.mode"})
|
||||||
try:
|
try:
|
||||||
return result['result']['value']
|
return result['result']['value']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|
Loading…
Reference in a new issue