OK, got it working. Just add the following two files into your PSE Folder under Actions! Name you can choose whatever you like, but the extension must be „.cvaction“!
disable "adjust refresh rate":
# disable "adjust refresh rate" in KODI for now
http://IPtoKODI:PORT/jsonrpc
POST: { "jsonrpc": "2.0", "id": 1, "method": "Settings.SetSettingValue", "params": { "setting": "videoplayer.adjustrefreshrate", "value": 0 } }
enable "adjust refresh rate" again:
# enable "adjust refresh rate" in KODI again
http://IPtoKodi:PORT/jsonrpc
POST: { "jsonrpc": "2.0", "id": 1, "method": "Settings.SetSettingValue", "params": { "setting": "videoplayer.adjustrefreshrate", "value": 2 } }
The "disable" Action should be placed directly in the begging of PSE Setup/Sequence.
The "enable" Action should be placed directly in front of the Feature (the main movie)
Thats it. Make sure that you have enabled "Allow remote control via HTTP" in KODI Settings as described here:
https://kodi.wiki/view/Settings/Services/Control#Allow_remote_control_via_HTTP
regards