Thanks for your input on this. After comparing the lgcommander script and this one I had noticed there where some lines missing in the handleCommand. I had been attempting to add them myself but ended up with syntax errors aplenty lol ( I think I will have to buy python for noobs to read on my lunch breaks at work! )
Anyway the downside is after adding your corrected code I am still not getting a response. As before the script is returning a session ID so we know it is communicating with the tv but nothing happen after that, no action on tv nor an error in eg
With my limited experience I even tried changing the handlecommand to be the same as requested here
http://developer.lgappstv.com/TV_HELP/i ... yInput.htm
Code: Select all
<envelope>
<api type="command">
<name>HandleKeyInput</name>
<value>Value key code of remote Controller</value>
</api>
</envelope>
If you have anymore ideas it would be great but i also understand that as you dont have a tv to test this on it is not easy.
Mark