Direct API call via Button Mapper app

I don't know if this is common knowledge but, if not, it might be useful to anyone who uses the buttonmapper app on android clients.

I have discovered that using the advanced mode in buttonmapper to map a button to do an HTTP POST to localhost you can get it to call any channels api command.

Eg I have the Search button on my IR remote mapped to F9 in my Flirc and then I've mapped F9 in buttonmapper to call http://127.0.0.1:57000/api/navigate/Search.

It works well and means any command is available to a remote, not just those that have an adb keycode associated with them. Eg I have another button mapped to skip/240 in the api to ad skip in programs where comskip didn't work well or hasn't run yet etc.

1 Like