Posts by chapas

    Stop kodi: systemctl stop kodi

    Reset parental settings in /storage/.kodi/userdata/guisettings.xml to default:

    Code
        <setting id="pvrparental.duration" default="true">300</setting>
        <setting id="pvrparental.enabled" default="true">false</setting>
        <setting id="pvrparental.pin" default="true"></setting>

    Start kodi again: systemctl start kodi

    Thank you! That worked!

    I saw the old PIN on 'pvrparental.pin', 478963, before altering the file as suggested tried once more and didn't work?!?!?!? Bug maybe.

    IIRC it's stored in /userdata/profiles.xml

    Try renaming (SSH into player) and renaming to .bak or similar (don't delete as first step).

    N.B: All profiles (if any) will be removed as well!

    Thanks for your answer, renaming the 'profile.xml' didn't work. It still asks me for 'Parental Control' PIN.

    Da Flex
    Thanks for your support.

    This is my actual config:

    Code
    <keymap>
      <global>
        <keyboard>
          <g>RunScript(script.audio.profiles,1)</g>
          <t>RunScript(script.audio.profiles,4)</t>
        </keyboard>
      </global>
    </keymap>

    Same error

    Code
    2020-02-18 08:56:48.743 T:2437149552  NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: Headphones
    2020-02-18 08:56:48.747 T:2437149552   ERROR: JSONRPC: Failed to parse '{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "lookandfeel.soundskin", "value": resource.uisounds.kodi}, "id": 1}'
    2020-02-18 08:56:49.347 T:2981213040  NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 154 ms
    2020-02-18 08:56:54.022 T:2549363568   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - unable to connect to 127.0.0.1:9982
    2020-02-18 08:57:08.924 T:2557756272  NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: HDMI
    2020-02-18 08:57:08.930 T:2557756272   ERROR: JSONRPC: Failed to parse '{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "lookandfeel.soundskin", "value": resource.uisounds.kodi}, "id": 1}'
    2020-02-18 08:57:09.023 T:2549363568   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - unable to connect to 127.0.0.1:9982

    I'll give up now... when I reinstall KODI one day, I'll get back to it.

    Hi,

    I have 2 profiles HDMI and Bluetooth.

    and this configuration:

    Code
    <keymap>
        <global>
            <keyboard>
                <g>RunScript(script.audio.profiles,0)</g>
            </keyboard>
        </global>
    </keymap>

    then some errors when i press 'g', any suggestion?

    Code
    2020-02-13 22:12:36.416 T:2343564144  NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: HDMI
    2020-02-13 22:12:37.292 T:2343564144  NOTICE: Previous line repeats 2 times.
    2020-02-13 22:12:37.292 T:2343564144   ERROR: JSONRPC: Failed to parse '{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "lookandfeel.soundskin", "value": resource.uisounds.kodi}, "id": 1}'
    2020-02-13 22:12:37.504 T:2451903344   ERROR: Previous line repeats 3 times.
    2020-02-13 22:12:37.504 T:2451903344  NOTICE: ..::Audio Profiles::.. [RESTORING SETTING]: Headphones
    2020-02-13 22:12:37.814 T:2304349040   ERROR: JSONRPC: Failed to parse '{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "lookandfeel.soundskin", "value": resource.uisounds.kodi}, "id": 1}'
    2020-02-13 22:12:38.577 T:2402579312   ERROR: Previous line repeats 1 times.

    Thanks