Re: XBMC Event Receiver
Posted: Wed Sep 22, 2010 11:59 am
It seems to work fine for me on XBMC Dharma beta1&2.Livin wrote:darn... and I cannot get this plugin to work either.
What IPs are you using for both address it asks for? Are you using 8080 for both also?jonib wrote:It seems to work fine for me on XBMC Dharma beta1&2.Livin wrote:darn... and I cannot get this plugin to work either.
Edit: using port 8080
jonib
Edit: I only changed XBMC host IP and XBMC HTTP port.Livin wrote:What IPs are you using for both address it asks for? Are you using 8080 for both also?
Code: Select all
4:54:26 PM Traceback (most recent call last):
4:54:26 PM File "EventGhost.pyw", line 31, in <module>
4:54:26 PM File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 102, in Main
4:54:26 PM stackless.run()
4:54:26 PM File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 41, in ProcessingTask
4:54:26 PM self.Configure(*args, **kwargs)
4:54:26 PM File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 126, in Configure
4:54:26 PM self.item.Configure(*args)
4:54:26 PM File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 107, in Configure
4:54:26 PM return self.executable.Configure(*args)
4:54:26 PM File "C:\Program Files (x86)\EventGhost\plugins\XBMCEventReceiver\__init__.py", line 175, in Configure
4:54:26 PM urllib.urlopen(url_xbmc)
4:54:26 PM File "urllib.pyc", line 87, in urlopen
4:54:26 PM File "urllib.pyc", line 206, in open
4:54:26 PM File "urllib.pyc", line 345, in open_http
4:54:26 PM File "httplib.pyc", line 892, in endheaders
4:54:26 PM File "httplib.pyc", line 764, in _send_output
4:54:26 PM File "httplib.pyc", line 723, in send
4:54:26 PM File "httplib.pyc", line 704, in connect
4:54:26 PM File "socket.pyc", line 514, in create_connection
4:54:26 PM IOError: [Errno socket error] [Errno 10061] No connection could be made because the target machine actively refused it
4:54:26 PM Traceback (most recent call last):
4:54:26 PM File "C:\Program Files (x86)\EventGhost\eg\Classes\ButtonRow.py", line 108, in OnOK
4:54:26 PM self.parent.OnOK(event)
4:54:26 PM File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 161, in OnOK
4:54:26 PM self.DispatchEvent(event, wx.ID_OK)
4:54:26 PM File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 122, in DispatchEvent
4:54:26 PM self.__processingChannel.send(wx.ID_OK)
4:54:26 PM TaskletExitOr make it not puke.Livin wrote:would be a good thing to put in the read me
I'm getting some usable data (just removed some duplication)Livin wrote:I got this running but it does not send me any usable data. Example...
Code: Select all
XBMC Event Broadcast listener ENABLED on Local Host @ 192.168.0.102:8278. Response to XBMC is True.
XBMC-Event.<b>OnAction:79;2</b>
XBMC-Event.<b>OnPlayBackResumed;1</b>
XBMC-Event.<b>OnAction:79;2</b>
XBMC-Event.<b>OnPlayBackPaused;1</b>
XBMC-Event.<b>OnAction:13;2</b>
XBMC-Event.<b>OnPlayBackStopped;1</b>
XBMC-Event.<b>OnAction:9;2</b>
Experiment... how are we to translate that into what is really going on?
I don't think the events stuff is going to change that much, as the HTTP API is only used to control event level and to turn it on or off.Livin wrote:I've not found any viable info on this... plus, with the HTTP interface going away it might not be worth it at all.