2013-11-12, 12:11
Hi,
I'm using XBMC since few days, and it's quite interesting.
I installed in my house a whole solution to control my lights, dimmers, blinds through KNX and through my iPad.
I also developed a supervision MMI to control my lights, dimmers, blinds, AV Ampli, television... And now I want to add some functionalities to choose IN THIS APPLICATION movies, music hosted on my NAS and to play them using XBMC (installed on Raspberry PI model B)
I saw the webInterface.default provided by the XBMC team which is almost perfect because everything is done, I just have to provide other CSS and button locations.
The code is not going to be hosted on the XBMC itself, but it's going to be hosted on a remote apache2 server (in the same network of course). So I need to provide the URL, a login and a password to be able to interact with the XBMC server.
The point is that I don't understand where I can provide the URL and the options. I saw in the "XBMC.core.js" that this should be there "request_options.url = xbmc.core.JSON_RPC + '?' + options.method;"
But :
- I don't understand when this is called and by which program...
- I don't understand how I can provide the information such as : 192.168.0.10:1234 and a login and a password...
Does anyone can help me
Thanks in advance
I'm using XBMC since few days, and it's quite interesting.
I installed in my house a whole solution to control my lights, dimmers, blinds through KNX and through my iPad.
I also developed a supervision MMI to control my lights, dimmers, blinds, AV Ampli, television... And now I want to add some functionalities to choose IN THIS APPLICATION movies, music hosted on my NAS and to play them using XBMC (installed on Raspberry PI model B)
I saw the webInterface.default provided by the XBMC team which is almost perfect because everything is done, I just have to provide other CSS and button locations.
The code is not going to be hosted on the XBMC itself, but it's going to be hosted on a remote apache2 server (in the same network of course). So I need to provide the URL, a login and a password to be able to interact with the XBMC server.
The point is that I don't understand where I can provide the URL and the options. I saw in the "XBMC.core.js" that this should be there "request_options.url = xbmc.core.JSON_RPC + '?' + options.method;"
But :
- I don't understand when this is called and by which program...
- I don't understand how I can provide the information such as : 192.168.0.10:1234 and a login and a password...
Does anyone can help me
Thanks in advance