Changing settings with scripts?

  • Is it possible to change a setting with a script?

    My specific issue is that my projector supports 24p, but the secondary monitor does not. And I definitely don't want to set to 60Hz just to accommodate the monitor, results are way too jerky.

    What I'd like to do is I'd like to have my remote to run a script, that would adjust the "change refresh rate at pleyback" setting, according what output device is in use.

    Is there any way to do that?

    //HS

  • Calling a script by RC goes like this at /storage/.kodi/userdata/keymaps/remote.xml:

    Code
    <keymap>
      <global>
        <remote>
          <red>RunScript(/full/path/to/python/script)</red>
          <green>RunScript(/full/path/to/python/script)</green>
          <yellow>RunScript(/full/path/to/python/script)</yellow>
          <blue>RunScript(/full/path/to/python/script)</blue>
        </remote>
      </global>
    </keymap>

    To give advice about script content we need to know your LE hardware.