mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
Fix typo screensaver
This commit is contained in:
parent
7f2eb13f9a
commit
fd3c21d6c8
1 changed files with 1 additions and 1 deletions
|
@ -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