[DEV] Start Developement Web Interface
#1
Coming from a webdesign background, I thought it would be a good idea to make a web interface that exactly suits my needs. I've read through the wiki and understand the JSON-RPC. I'm running a mac and I'd like to know how I can start developing my own interface? Is there some webserver dir? I saw the addons folder in the app package but adding a new webinterface didn't quite work. It would be great if someone could tell me the basic workflow of developing such a web interface and help me to get started! Smile
Reply
#2
Looking at other web interfaces would probably be the best way to go.

I don't know the reasons why you want to start from scratch, but if all you want to do is build a skin/UI, AWX-Eden supports multiple UIs <hint> <hint>.
Image
AWXi - Ajax web interface. Wiki
Reply
#3
Yes, there are quite a few web-interfaces alaready. Don't forget to check out Maraschino: http://forum.xbmc.org/showthread.php?tid=113136

About 4/5 active devs are working on this and it already is quite good...
Reply
#4
I agree with Mizaki in that the best way to get introduced to developing a web interface for XBMC is to look at existing web interface projects or to join an already existing team. The existing knowledge base and development experience in these teams are very helpful for people new to development projects for XBMC.
I am an expert at acting like an expert ---- WC Fields.

XBMC Web Control Interface - https://github.com/mthiels/webinterface.xrc
Reply
#5
Okido, thanks! It's maybe the best to not try to re-invent the wheel and look at/join existing projects.
Reply
#6
No offense to anyone, but heres the info you need.

I created my own web interface to control XBMC. I saw alot of great interfaces but they were to heavy for the older 10" tablets I use for custom home control. Heres the thread if you want to take a look.

http://forum.xbmc.org/showthread.php?tid=50589

I will not go into actually creating a website interface I am sure if you want to do this you know what you are doing. IMO it is sometimes better to reinvent the wheel if the wheel doesnt fit. Imagination is the fuel of invention.

To add your website interface to XBMC:

Whatever site you create just add a addon.xml file into your site folder and then zip the folder. Goto addons in the system menu and you should see a install from zip. Locate your zipped site folder and you should see a message that confirms your file was added. Now goto your system network setting and change the interface to your creation. Restart XBMC ! if all goes well you should be able to open a browser , enter ip for XBMC and your interface will load.

Let me know if you need the contents of the xml file as an example, I searched and found a few examples.

Hope this info helps you.
Reply
#7
For information about the addon.xml file and other stuff needed by XBMC to be able to install/use an addon see http://wiki.xbmc.org/index.php?title=Add-on_development

Webinterfaces use the extension "xbmc.gui.webinterface" (which you need to specify in the addon.xml).
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#8
If you can add value or simply want to learn then go for. Smile Like I said I don't know what you are trying to achieve.

If you could do something similar to Maraschino and create an extendable framework and maybe a skinning framework that would be great imo. I'd like to do it myself but lack time and knowledge. I'm not sure if much work is being done on the default one. There is a general "make it better ticket" http://trac.xbmc.org/ticket/7904.

There is now the option for addons to have their own web interface I believe. I don't know if you could use that to make a web interface in python getting over some of the limitations of the slim web server XBMC uses. I've been meaning to ask Maraschino if they have thought about it.
Image
AWXi - Ajax web interface. Wiki
Reply

Logout Mark Read Team Forum Stats Members Help
[DEV] Start Developement Web Interface0