2020-08-08, 20:32
Sorry for cross-posting....Mods, please feel free to delete my original post. This thread seems more relevant than the one where I posted originally.
Onward....
I run my own self hosted web page where I admin many of my home server items. While not an expert, for years I muddled through figuring out how to do things. I created this page in php. One of the many things I was able to do, were Video and Music Library Updates.
Leia simply killed this feature (and others). I did not realize this until I upgraded from Krypton.
Without luck, I have tried for many many hours, to execute the curl command that performs this action in PHP:
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://kodi:[email protected]:80/jsonrpc
Would some kind soul please guide me to make php execute the above curl command... every sample I have seen includes "options, arrays, things" that I cannot relate to the line above. Figuring this out will allow me to also update a few other bits that my page did.
I have grown accustomed executing many Kodi commands with the old API method. I have Kodi on a couple of Intel NUC's running LibreElec.
Thank you in advance.
H.
Onward....
I run my own self hosted web page where I admin many of my home server items. While not an expert, for years I muddled through figuring out how to do things. I created this page in php. One of the many things I was able to do, were Video and Music Library Updates.
Leia simply killed this feature (and others). I did not realize this until I upgraded from Krypton.
Without luck, I have tried for many many hours, to execute the curl command that performs this action in PHP:
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://kodi:[email protected]:80/jsonrpc
Would some kind soul please guide me to make php execute the above curl command... every sample I have seen includes "options, arrays, things" that I cannot relate to the line above. Figuring this out will allow me to also update a few other bits that my page did.
I have grown accustomed executing many Kodi commands with the old API method. I have Kodi on a couple of Intel NUC's running LibreElec.
Thank you in advance.
H.