Updating/cleaning a Kodi video library via curl
Using the JSON RPC API you can update a kodi library using the following:
curl -v -d '{"method":"VideoLibrary.Scan", "id":"scan","jsonrpc":"2.0"}' -H 'content-type:application/json' http …
Using the JSON RPC API you can update a kodi library using the following:
curl -v -d '{"method":"VideoLibrary.Scan", "id":"scan","jsonrpc":"2.0"}' -H 'content-type:application/json' http …
If you need to enter the same input into two tmux panes (useful if running the same command on multiple servers) do the following:
ctrl-b :
then enter setw synchronize-panes on …