Kodi Community Forum
Python, HTTP API and Remote.xml - HOW? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+--- Thread: Python, HTTP API and Remote.xml - HOW? (/showthread.php?tid=104431)



Python, HTTP API and Remote.xml - HOW? - bigbadrabbit - 2011-06-28

Until now i controlled the volume of my AV receiver with Apple Aluminium Remote, iRed2 and IRTRans Ethernet via applescript in the remote.xml.

See this thread for more info:
http://forum.xbmc.org/showthread.php?p=764105#post764105


I'd like to get rid of the applescript and use python and HTTP API.
I can control the IRTrans Modul by calling an URL like this:

Code:
http://10.0.5.1/send.htm?remote=sony-main&command=volup

What's the best way to run this in the remote.xml and how?
Thanks!


- bigbadrabbit - 2011-06-28

How can i implement
Code:
http://10.0.5.1/send.htm?remote=sony-main&command=volup
into a Remote.xml?