Win Custom keymap for "color" button's
#1
Hi,

i have been solving one "simple" problem for a few days, I would like to use the colored buttons (blue, red, green, yellow in the settings->… more->… -> execute and specific action-> blue) inside the Official Kodi Remote for iOS to launch simple commands in the Kodi interface (more precisely the command "runscript (script.audio.profiles, 1)" and so on). I found one discussion on the Internet on the same topic (https://discourse.osmc.tv ... and https://forum.kodi.tv ...), I tried to modify the configuration in

\userdata\keymaps\ ...
\system\keymaps\remote.xml => without success

Setup with the Keymap add-on is also without success.
I don't know how to use JSON commands correctly so that the signal is assigned to the set action ... 
In the Kodi debug log, I get this information about registering the button signal, but I can't add an action to the signal.

Log with a list of button registration in Kodi - https://paste.kodi.tv ...

Every problem or idea has been solved by google ... I can't handle this problem myself. I will be happy for any idea Smile


Kodi Matrix 19.0-Beta1 (18.9.801)
Windows 10 1809 - 64bit
Reply
#2
I also found the configuration files in the "Kodi\system\keymaps" folder

remote.xml
appcommand.xml

Unfortunately, neither allows setting the signal from the Remote Kodi app for iOS to a specified action in the interface.

... And unfortunately there was another problem, it is certainly related, previously during video playback it was possible to use the iOS application to take small steps in the video (left, right arrow) now in the menu works normally, no action during playback, no response. While playing music, the arrows skip to the next song ... I would also like to set a small step in the song being played.
Reply
#3
Please moderators move my thread to a category Support => Supplementary Tools for Kodi => Kodi Remote for iOS Official Forum (https://forum.kodi.tv...)
Reply
#4
Done
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
I take the floor and try to illustrate it as much as possible now.
So in the application for iOS (Offical Remote Kodi) I proceed as follows
Image Image Image Image Image Image Image Image Image

After "pressing" the button, the command is executed, it is recorded in the Kodi Log as follows
Code:
2020-12-10 17:34:20.096 T:8260    DEBUG <CWebserver[2020]>: request received for /jsonrpc
2020-12-10 17:34:20.097 T:8260    DEBUG <general>: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Input.ExecuteAction","id":-1955814432,"params":{"action":"blue"}}
2020-12-10 17:34:21.709 T:8260    DEBUG <CWebserver[2020]>: request received for /jsonrpc
2020-12-10 17:34:21.709 T:8260    DEBUG <general>: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Input.ExecuteAction","id":-931608937,"params":{"action":"blue"}}
2020-12-10 17:34:23.393 T:8260    DEBUG <CWebserver[2020]>: request received for /jsonrpc
2020-12-10 17:34:23.393 T:8260    DEBUG <general>: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Input.ExecuteAction","id":367021635,"params":{"action":"blue"}}
2020-12-10 17:39:26.986 T:10956   DEBUG <CWebserver[2020]>: request received for /jsonrpc
2020-12-10 17:39:26.986 T:10956   DEBUG <general>: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Player.PlayPause","id":-1141605563,"params":{"playerid":1}}

More precisely, I pressed the "blue" button 3 times, it won't do anything in the interface and the "PlayPause" button once, which by itself responds exactly as it should. The keymap does not capture any button ID, but the press registers.

And a specific command to do after pressing the "blue" button - This is a script for the AudioProfiles add-on, which changes the audio output profile to the following.
Code:
RunScript(script.audio.profiles,0)
Reply

Logout Mark Read Team Forum Stats Members Help
Custom keymap for "color" button's0