2016-11-02, 16:31
Hi all, I'm looking for help with a few custom commands.
Is it possible to do the following?
• Switch Video Output to Full screen #1
• Switch Video Output to Full screen #2
• Enable Blank other displays
If so, how would I set those up?
For those unfamiliar with Yatse, the custom commands can be the following, though I'm not sure how to convert this to a custom command
Command type:
• Remote Button (Simulate physical remote)
• Keyboard Key (Simulate physical keyboard)
• Call built-in (Execute a built-in command)
• JSON-RPC command (Send JSON-RPC command)[/b]
I've looked at the custom commands on the Yatse wiki but not managed to gleam anything about it and I've no idea if this can be done with JSON commands
I've also checked the Kodi Wiki here but not found those features.
From logging and changing settings, I've discovered the following:
Left screen (DVI output) - "DISPLAY1 output" referred to as "screen 0"
Right screen (HDMI) - "DISPLAY2 referred to as "screen 1"
Is it possible to do the following?
• Switch Video Output to Full screen #1
• Switch Video Output to Full screen #2
• Enable Blank other displays
If so, how would I set those up?
For those unfamiliar with Yatse, the custom commands can be the following, though I'm not sure how to convert this to a custom command
Command type:
• Remote Button (Simulate physical remote)
• Keyboard Key (Simulate physical keyboard)
• Call built-in (Execute a built-in command)
• JSON-RPC command (Send JSON-RPC command)[/b]
I've looked at the custom commands on the Yatse wiki but not managed to gleam anything about it and I've no idea if this can be done with JSON commands
I've also checked the Kodi Wiki here but not found those features.
From logging and changing settings, I've discovered the following:
Left screen (DVI output) - "DISPLAY1 output" referred to as "screen 0"
Right screen (HDMI) - "DISPLAY2 referred to as "screen 1"
Code:
15:18:55 T:2188 DEBUG: CRenderSystemDX::SetMonitor - Selected \\.\DISPLAY2 output.
15:18:55 T:2188 DEBUG: CWinSystemWin32::SetFullScreenEx (windowed fullscreen) on screen 1 with size 1920x1080, refresh 60.000000
15:18:55 T:2188 DEBUG: CWinSystemWin32::ResizeInternal - resizing due to size change (-8,1,1928,1057)->(-1920,0,0,1080 fullscreen)
15:18:55 T:2188 DEBUG: CWinEventsWin32::WndProc: window move event
15:18:55 T:2188 DEBUG: CWinEventsWin32::WndProc: window resize event
15:18:55 T:2188 DEBUG: CRenderSystemDX::CreateWindowSizeDependentResources - (Re)Create window size (1920x1080) dependent resources.
15:18:55 T:2188 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
15:18:56 T:12792 DEBUG: webserver: request received for /jsonrpc
15:18:57 T:2188 DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
15:18:57 T:6980 DEBUG: Thread Timer start, auto delete: false
15:18:57 T:12792 DEBUG: webserver: request received for /jsonrpc
15:18:58 T:6980 DEBUG: Thread Timer 6980 terminating
15:18:58 T:2188 DEBUG: CRenderSystemDX::SetMonitor - Selected \\.\DISPLAY1 output.
15:18:58 T:2188 DEBUG: CWinSystemWin32::SetFullScreenEx (windowed fullscreen) on screen 0 with size 1920x1080, refresh 60.000000
15:18:58 T:2188 DEBUG: CWinSystemWin32::ResizeInternal - resizing due to size change (-1920,0,0,1080 fullscreen)->(0,0,1920,1080 fullscreen)
15:18:58 T:2188 DEBUG: CWinEventsWin32::WndProc: window move event
15:18:58 T:2188 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
15:18:58 T:2188 DEBUG: ------ Window Init (DialogYesNo.xml) ------
15:18:59 T:2188 DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
15:18:59 T:12792 DEBUG: webserver: request received for /jsonrpc
15:18:59 T:2188 DEBUG: ------ Window Deinit (DialogYesNo.xml) ------