Username and password for AMC Kodi update script
Posted: 18 Nov 2019, 06:25
Hi,
I've been trying out the AMC script which has a kodi option. I entered the host but I am getting a 401 auth error since I have set a password on the settings of kodi (.kodi/userdata/guisettings.xml)
I have tried to enter the host in the following format: "user:password@host:port"
Is there a way to get this working as expected as I'd rather not remove the password on Kodi's RPC. Thanks
I've been trying out the AMC script which has a kodi option. I entered the host but I am getting a 401 auth error since I have set a password on the settings of kodi (.kodi/userdata/guisettings.xml)
Code: Select all
...
<setting id="services.webserver">true</setting>
<setting id="services.webserverpassword">**PASSWORD**</setting>
<setting id="services.webserverport">2620</setting>
<setting id="services.webserverssl" default="true">false</setting>
<setting id="services.webserverusername">dav</setting>
...
Code: Select all
Notify Kodi: [host:dav:**PASSWORD**@192.168.0.66, port:2620]
POST: http://dav:**PASSWORD**@192.168.0.66:2620/jsonrpc {"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"FileBot finished processing 1 files","message":"\u2022 Madam.Secretary.S06E07.720p.HDTV.x264-AVS","image":"https://app.filebot.net/icon.png"},"id":1}
IOException: Server returned HTTP response code: 401 for URL: http://dav:**PASSWORD**@192.168.0.66:2620/jsonrpc