2013-10-02, 07:26
Hi All,
I have been hunting around the forums and have failed to find an upto date answer.
I would like to find out, from a python script add-on, what the current setting of the screensaver "delay time" (i.e. how long to have inactivity before coming on). I found an old post that showed:
But the xbmc.executehttpapi interface has been deprecated.
I have searched the JSON interface, thought it might be in "GUI.GetProperties" but it doesn't appear so.
Does anyone have any idea how I can find out this value? (I don't want to change it - just want to know it)
Any assistance would be greatly appreciated
Thanks, Rob
I have been hunting around the forums and have failed to find an upto date answer.
I would like to find out, from a python script add-on, what the current setting of the screensaver "delay time" (i.e. how long to have inactivity before coming on). I found an old post that showed:
Code:
screensavertime = xbmc.executehttpapi( "GetGUISetting(0;screensaver.time)" ).replace( "<li>", "" )
But the xbmc.executehttpapi interface has been deprecated.
I have searched the JSON interface, thought it might be in "GUI.GetProperties" but it doesn't appear so.
Does anyone have any idea how I can find out this value? (I don't want to change it - just want to know it)
Any assistance would be greatly appreciated
Thanks, Rob