HOW-TO:Remotely update library

Some quick methods to updating the Kodi library outside of the Kodi interface. There are also several supplemental tools and smartphone remotes that can remotely update the library as well.

HTTP
To add new content to the library (Update):
 * Video: http://:@ : /jsonrpc?request={"jsonrpc":"2.0","method":"VideoLibrary.Scan"}
 * Audio: http://:@ : /jsonrpc?request={"jsonrpc":"2.0","method":"AudioLibrary.Scan"}

To remove content from library (Clean):
 * Video: http://:@ : /jsonrpc?request={"jsonrpc":"2.0","method":"VideoLibrary.Clean"}
 * Audio: http://:@ : /jsonrpc?request={"jsonrpc":"2.0","method":"AudioLibrary.Clean"}

Command line
To add new content to the library (Update):
 * Video:
 * Audio:

To remove content from library (Clean):
 * Video:
 * Audio:

Windows Command Line
You will need the Win32 2000/XP binary version of cURL by Günter Knauf. Download it here: http://curl.haxx.se/ Create a cURL folder in the Program Files directory and place the contents of the zip file in the root of that folder. (You can put it elsewhere if you like just make sure you modify the code to reflect the location of the exe file)

To add new content to the library (Update):
 * Video:
 * Audio:

To remove content from library (Clean):
 * Video:
 * Audio:

Replace "user:pass" with your username and password, localhost can remain unless doing it remotely in which case replace with IP address, replace "port" with the port number you have configured in your settings. The " > NUL 2>&1" stops the command from displaying any output (for instance, when running a batch file). You can leave that out if you want.