2015-11-13, 18:29
(This post was last modified: 2015-11-13, 19:48 by gowzel.)
Brilliant, Thankyou, I did a further search for accesscontrol and found two files in it here:
/storage/.kodi/userdata/addon_data/service.multimedia.tvheadend/accesscontrol
I expected them to be named 1 and 2 etc but they are named:
41693d2007e2bb60af676fcc20a38600 and d6b649ca85e72cf2cc4169f79db98dee
Contents are similar except for the user name and password
{
"index": 1,
"enabled": true,
"username": "*",
"password2": "VFZIZWFkZW5kLUhpZGUtKg==",
"prefix": "0.0.0.0/0,::/0",
"streaming": true,
"adv_streaming": true,
"htsp_streaming": true,
"profile": "97daf09c5e4222a662737725fbaf43f8",
"dvr": true,
"htsp_dvr": true,
"all_dvr": true,
"all_rw_dvr": true,
"dvr_config": "",
"webui": true,
"admin": false,
"conn_limit": 2,
"channel_min": 0,
"channel_max": 0,
"channel_tag": "",
"comment": "Default access entry"
}
I have used vi and changed admin from false to true in the one below but now it will not let me log in with the username and password, whereas it did before I changed the admin to true.The password is not what I entered and used previously, it has changed it to that, but will not let me in even if I use it.
OpenELEC:~/.kodi/userdata/addon_data/service.multimedia.tvheadend/accesscontrol # cat 41693d2007e2bb60af676fcc20a38600
{
"index": 0,
"enabled": true,
"username": "gowzel",
"password2": "VFZIZWFkZW5kLUhpZGUtMWhhbWFjbGFzcw==",
"prefix": "0.0.0.0/0",
"streaming": true,
"adv_streaming": true,
"htsp_streaming": true,
"profile": "97daf09c5e4222a662737725fbaf43f8",
"dvr": true,
"htsp_dvr": true,
"all_dvr": true,
"all_rw_dvr": true,
"dvr_config": "d64646bf1375c483d10005092565b7f6",
"webui": true,
"admin": false,
"conn_limit": 0,
"channel_min": 0,
"channel_max": 0,
"channel_tag": "",
"comment": "New entry"
}