I want to enable Master lock code on guisettings.xml and profiles.xml
I set the masterlock.lockcode
jsonSetlock = '{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"setting":"masterlock.lockcode", "value":3},"id":1}'
xbmc.executeJSONRPC(jsonSetlock)
and set also the password on profiles.xml
but after reboot is cleared .
I have also try with advancedsettings without result:
<advancedsettings>
<masterlock>
<lockmode>3</lockmode>
<lockcode>81dc9bdb52d04dc20036dbd8313ed055</lockcode>
<useloginscreen>true</useloginscreen>
</masterlock>
</advancedsettings>
I set the masterlock.lockcode
jsonSetlock = '{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"setting":"masterlock.lockcode", "value":3},"id":1}'
xbmc.executeJSONRPC(jsonSetlock)
and set also the password on profiles.xml
but after reboot is cleared .
I have also try with advancedsettings without result:
<advancedsettings>
<masterlock>
<lockmode>3</lockmode>
<lockcode>81dc9bdb52d04dc20036dbd8313ed055</lockcode>
<useloginscreen>true</useloginscreen>
</masterlock>
</advancedsettings>