A small patch to have username/password support for kodiRemote.
You can apply this patch even if you use the default username on Kodi without password (the default configuration).
EDIT (2016-12-22): the patch accidentally also changes the hostname and port number from its default. Be aware of that.
EDIT (2016-12-31): added a new patch with default hostname and port number. (kodiRemote_001_v2.zip)
(what this patch actually does is just adding the following parameters , userStr, passwdStr at the end of each xmlhttp.open command, and create variables with the correct values.)
copy patch file to /HCBv2/qml/apps/ (e.g. using WinSCP)
and execute:
patch -p0 < kodiRemote_001.patch
example
Code: Select all
# pwd
/HCBv2/qml/apps
# ls -la *.patch
-rw-r--r-- 1 root root 3395 Dec 18 00:59 kodiRemote_001.patch
# patch -p0 < kodiRemote_001.patch
patching file ./kodiRemote/MediaScreen.qml