XBMC Community Forum
[WINDOWS] XBMC on iMON Display (LCD / VFD) for Windows - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: [WINDOWS] XBMC on iMON Display (LCD / VFD) for Windows (/showthread.php?tid=84166)



- sb206 - 2010-11-01 23:01

At first thanks for your work and sorry for my english. I have Windows 7 64 Bit with the last Betaversion of Imon. I installed your Programm. Now when XBMC is started is see the words "XBMC" with the 5.1 Setup on the Display. But I see nothing changes if i play a film or something different. Whats wrong ?


- Montellese - 2010-11-01 23:14

Hm could you turn on the debug mode (under "General" options), then start xmbc, play a file and close xbmc and the application again and then post the content of the file "debug.log" (in the same folder as the XbmcOnImonDisplay.exe) here?


- sb206 - 2010-11-01 23:19

Here is the log
http://pastebin.com/Ht4bBHZP


- Montellese - 2010-11-01 23:56

sb206 Wrote:Here is the log
http://pastebin.com/Ht4bBHZP

That's a very odd debug log. Do you manually initialize the iMON display? The app never gets notified by XBMC that playback of a file has been started.
There is also a strange behaviour regarding the connection setup with XBMC. When my XBMC is not running it looks like this in my log:
Code:
01.11.2010 22:49:27 [GUI] Trying to auto-connect with XBMC
01.11.2010 22:49:27 [XBMC] XbmcJsonRpcConnection.IsAlive
01.11.2010 22:49:27 [GUI] Asynchronous starting to connect with XBMC
01.11.2010 22:49:27 [XBMC] Opening a connection to XBMC
01.11.2010 22:49:28 [GUI] Connection with XBMC failed

In your log it looks like this:
Code:
01.11.2010 21:19:33 [GUI] Trying to auto-connect with XBMC
01.11.2010 21:19:33 [XBMC] XbmcJsonRpcConnection.IsAlive
01.11.2010 21:19:33 [GUI] Asynchronous starting to connect with XBMC
01.11.2010 21:19:33 [XBMC] Opening a connection to XBMC
01.11.2010 21:19:33 [XBMC] XbmcJsonRpcConnection.IsAlive
01.11.2010 21:19:33 [XBMC] XbmcJsonRpc.Ping()
01.11.2010 21:19:33 [XBMC] Calling JSON RPC method "JSONRPC.Ping"...
01.11.2010 21:19:34 [XBMC] ERROR Error while calling JSON RPC method "JSONRPC.Ping"
    WebException: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.
            bei System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   bei System.Net.HttpWebRequest.GetRequestStream()
   bei XBMC.JsonRpc.JsonRpcClient.Call(String method, Object args)
01.11.2010 21:19:34 [XBMC] ERROR JSONRPC.Ping: Invalid response
01.11.2010 21:19:34 [XBMC] Closing the connection
01.11.2010 21:19:34 [GUI] Connection with XBMC failed

Looks like it is possible to open a tcp socket at port 9090 to the given IP but it is not possible to send an HTTP request containing a JSON RPC call to port 81.

Is it possible that you have another application running which already uses port 9090? If you don't know that you might need to use a tool like NMap to scan the port.


- sb206 - 2010-11-02 09:45

That was is it. I have Sabnzb+ on my htpc. This Programm use the port 9090 for htps. After deaktivating Sabnzb it works fine. Could you make a Point in the Programm where is possible to change the port ?


- Montellese - 2010-11-02 09:47

sb206 Wrote:That was is it. I have Sabnzb+ on my htpc. This Programm use the port 9090 for htps. After deaktivating Sabnzb it works fine. Could you make a Point in the Programm where is possible to change the port ?

The problem is that the port 9090 is hardcoded within XBMC so I can't change it from my program. I will ask if it would be possible for XBMC to make it configurable.


- sb206 - 2010-11-02 11:47

Many thanks. But in the other way i can change the port in sabnzbd+. I think it where good if you give an advice for this problem in the first page. sabnzbd+ ist a program wich where often use


- Montellese - 2010-11-02 12:41

sb206 Wrote:Many thanks. But in the other way i can change the port in sabnzbd+. I think it where good if you give an advice for this problem in the first page. sabnzbd+ ist a program wich where often use

It would still be nice if it would be configurable within XBMC because there might be other applications which use the same port where you can't change it either.

I added a paragraph about known problems to my first post.


- robertvg - 2010-11-02 13:32

Just a big Thumbs Up for this piece of work: finally XBMC works with my IMON LCD ;-)
Keep up the good work.


- Ranger Rob - 2010-11-03 00:43

Great work. Thanks for this!!!