Kodi Community Forum
Add or modify default Web interface files for testing JSON RPC Api - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Web Interfaces (https://forum.kodi.tv/forumdisplay.php?fid=156)
+---- Thread: Add or modify default Web interface files for testing JSON RPC Api (/showthread.php?tid=232301)



Add or modify default Web interface files for testing JSON RPC Api - jps1x2 - 2015-07-16

Hi all,

i am new here, i use one Raspberry Pi 2 and using OSMC, it is fantastic!

I would like to test JSON RPC Api calls using Ajax and i would like to modify or add some new html files to default web server interface but i don't know where i have to create .html files and directories and where "htdocs" files are on default web server interface.

Could you help me please?

Thanks in advance!

jps


RE: Add or modify default Web interface files for testing JSON RPC Api - tuxfuxch - 2015-07-17

Webinterfaces are plugins. i would recoment to make a new plugin rather than change the default one, so you don't get in troubles with updates....


RE: Add or modify default Web interface files for testing JSON RPC Api - jps1x2 - 2015-07-18

I found directory using find command:

/usr/share/kodi/addons/webinterface.default

Modified htm files on this directory and web interface changes, all ok.

Thanks for your help