Hi all,
This question has been posted before, but no real answer was given, so I tried to solve it miself (and failed).
The thing is that I want to create custom commands for the SubtitleDelayMinus and SubtitleDelayPlus commands. I know that this functions are available through the now playing panel, but this prevents me to use the remote control panel, whicht I find more comfy.
So I tried to create a custom command, but unfortunately nothing have worked so far. I have set the “q” key for the SubtitleDelayMinus command, and the “w” key for the SubtitleDelayPlus, by adding the lines
<q>SubtitleDelayMinus</q> <w>SubtitleDelayPlus</w>
to my keymap.xml file. It works flawlessly using the physical keyboard.
Now, I’ve tried creating a Custom Command in Yatse using the three possible methods. The easiest option should be adding from media center as a keyboard key. So I’ve tried to add a q, and also its key code, 61521. No luck.
Next I tried to add it as a built-in command, (ACTION_SUBTITLE_DELAY_MIN) (I guessed), but nothing happened.
Finally, out of despair, I’ve tried with JSON-RPC, using the Input.ExecuteAction method and {subtitledelayminus} as a parameter, but this neither works.
I don’t know if if’ve done something wrong, but it shouldn’t be so difficult to pass a single keypress to Kodi.
At this point, I need help, or at least I would like to know what’s going on here. Can anyone help?
Thanks!