How can I provide the username and password for the web interface in advancedsettings - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: How can I provide the username and password for the web interface in advancedsettings (/showthread.php?tid=375167) |
How can I provide the username and password for the web interface in advancedsettings - steelhouse - 2023-11-26 Reading this page: Web_interface (wiki) it says how to enable the web interface, but it doesn't mention how to set username and password If I start kodi without username and password, it tells me that it has disabled the web interface, because it can't start without them. Any pointers? RE: How can I provide the username and password for the web interface in advancedsettings - pkscout - 2023-11-26 I don't think you can set it in advanced settings. In the GUI go to SETTINGS > SERVICES > CONTROL. The first section in the Webserver config, and you can set a username and password for the web server there. RE: How can I provide the username and password for the web interface in advancedsettings - steelhouse - 2023-11-26 I know I can set it in the GUI, but I want to set it programmatically. RE: How can I provide the username and password for the web interface in advancedsettings - jjd-uk - 2023-11-26 Those are likely saved in guisettings.xml so you maybe able set it in there directly without having to use the gui. RE: How can I provide the username and password for the web interface in advancedsettings - steelhouse - 2023-11-26 Right, I see that, but then I don't understand why activating the web interface is in the file called advancedsettings.xml, since this setting is also available in the GUI, so why not just have it in the guisettings.xml? RE: How can I provide the username and password for the web interface in advancedsettings - jjd-uk - 2023-11-26 It's not in advancedsettings.xml what you can do is use advancedsettings.xml to things in the guisettings.xml RE: How can I provide the username and password for the web interface in advancedsettings - steelhouse - 2023-11-26 That's not true. Here is guisettings.xml Code:
and here is advancedsettings.xml Code:
As you can see, there is "webserver" in both. RE: How can I provide the username and password for the web interface in advancedsettings - jjd-uk - 2023-11-27 That's just a method for setting what's in guisettings.xml see https://kodi.wiki/view/Advancedsettings.xml#guisettings.xml_Setting_Conversion for how the conversion between files works. RE: How can I provide the username and password for the web interface in advancedsettings - steelhouse - 2023-11-30 ok, so I should be able to do this then? Code:
RE: How can I provide the username and password for the web interface in advancedsettings - jjd-uk - 2023-12-01 Most likely, not in a position to check. GUI settings are always in the style: <setting id="categoryname.settingname">value</setting> So to set them via advancedsettings.xml the style is: <categoryname> <settingname>value</settingname> </categoryname> |