Python, HTTP API and Remote.xml - HOW?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bigbadrabbit Offline
Senior Member
Posts: 139
Joined: Sep 2008
Reputation: 0
Location: Austria
Question  Python, HTTP API and Remote.xml - HOW?
Post: #1
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=7...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!

XBMC 13.0 nightly
OS X 10.8.4
Mac mini (mid 2011) | i5 | 8GB RAM | SSD
find quote
bigbadrabbit Offline
Senior Member
Posts: 139
Joined: Sep 2008
Reputation: 0
Location: Austria
Post: #2
How can i implement
Code:
http://10.0.5.1/send.htm?remote=sony-main&command=volup
into a Remote.xml?

XBMC 13.0 nightly
OS X 10.8.4
Mac mini (mid 2011) | i5 | 8GB RAM | SSD
find quote