On August 2, 2020 at 12:30, Lyndel McGee said...
Do google search for jsonrpc 2 batch. Not sure if KODI supports it yet but you send an array of requests and get back an array of responses.
I believe these commands are already batch request. the issue is one is a "Player.GetProperties" and the other is a "Player.GetItem". You can make the ID what ever you wish, just trying to see if it can be sent from a single command or what may be an alternative in JavaScript, so send tow different request in one script. I also have asked on the KODI forums but so far no reply.