2014-07-16, 19:40
Hi. I'm trying to switch my screen resolution through xbmc to add this option to a python script.
I obtain the allowed resolutions with this query:
And i use the value i wanted in this request of setting change:
But when i set the resolution with the 2nd query the os (windows) switch to the right resolution but xbmc hangs and doesn't respond anymore. If the video is playing the audio keeps playing. I had to manually kill the process.
If i select the same resolution from settings windows it works well.
What i'm doing wrong?
Here's a log:
http://xbmclogs.com/show.php?id=247964
I obtain the allowed resolutions with this query:
Code:
{"jsonrpc":"2.0","method":"Settings.getSettings", "params":{"filter":{"section":"system","category":"videoscreen"}},"id":1}
Code:
{"jsonrpc":"2.0","method":"Settings.SetSettingValue", "params":{"setting":"videoscreen.resolution","value":27},"id":1}
But when i set the resolution with the 2nd query the os (windows) switch to the right resolution but xbmc hangs and doesn't respond anymore. If the video is playing the audio keeps playing. I had to manually kill the process.
If i select the same resolution from settings windows it works well.
What i'm doing wrong?
Here's a log:
http://xbmclogs.com/show.php?id=247964