Posts: 26
Joined: Mar 2012
Reputation:
0
That would eliminate the option of having 2160p on my TVs. I want the system to output 2160p for 4K movies on the TVs and output 1080p for 4K movies on the projector (obviously not at the same time). I am tinkering with setting the screen resolution directly using something such as:
xbmc.executebuiltin("Notification($INFO[System.ScreenResolution],0192001080060.00000pstd)")
I don't think this works but would like something similar that does work.
Posts: 26
Joined: Mar 2012
Reputation:
0
Sorry, copied the wrong line from my script. It should be:
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"setting":""videoscreen.screenmode","value":0192001080060.00000pstd}, "id":1}')
Still, I don't think this works.
Posts: 5,478
Joined: Jul 2012
Reputation:
384
Maybe create a second profile for the projector?
scott s.
.
Posts: 26
Joined: Mar 2012
Reputation:
0
I would like to know the syntax for using the GUI built-in function "Resolution".
Using the built-in function "PlayerResolutionSelect" I can achieve the desired result, but it is far less than elegant. I must put every possible used resolution in the whitelist. When a 4K movie starts playing, the script can scroll through the resolutions until it comes to 1920x1080 23.xx Hz. It then selects the 1920x1080 screen resolution and temporarily switches to it. Here is the python script:
import xbmc
import time
xbmc.executebuiltin("Action(PlayerResolutionSelect)")
time.sleep(0.2)
for x in range(40):
time.sleep(.03)
if xbmc.getCondVisibility("String.Contains(System.CurrentControl,1920x1080 @ 23)"):
xbmc.executebuiltin("Action(noop)")
else:
xbmc.executebuiltin("Action(down)")
xbmc.executebuiltin("Action(Select)")
Posts: 26
Joined: Mar 2012
Reputation:
0
Jeff,
I have a single Kodi server running on a Windows PC. The video card HDMI output goes to a switcher (for selecting KODI, DVR, Xbox, or Roku), then the receiver, then a splitter, then the TVs and projector. BTW, this requires an Atlona EDID Emulator.
David