HOW-TO:Remotely update library: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(http://forum.xbmc.org/showthread.php?tid=155858)
 
No edit summary
Line 1: Line 1:
{{frodo updated}}
Some quick methods to updating the XBMC library outside of the XBMC interface.
Some quick methods to updating the XBMC library outside of the XBMC interface.



Revision as of 22:21, 12 February 2013

Some quick methods to updating the XBMC library outside of the XBMC interface.

HTTP

  • Video: http://<User>:<Password>@<hostname>:<port>/jsonrpc?request={"jsonrpc":"2.0","method":"VideoLibrary.Scan"}
  • Audio: http://<User>:<Password>@<hostname>:<port>/jsonrpc?request={"jsonrpc":"2.0","method":"AudioLibrary.Scan"}

Command line

  • Video: curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://localhost:9191/jsonrpc
  • Audio: curl --data-binary '{ "jsonrpc": "2.0", "method": "AudioLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://localhost:9191/jsonrpc