-
This commit is contained in:
20
Kodi/Update library.md
Normal file
20
Kodi/Update library.md
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
|
||||
# Update Library
|
||||
|
||||
|
||||
## Command line
|
||||
|
||||
### To add new content to the library (Update):
|
||||
|
||||
**Video:** `curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://kodi:kodipass1234@localhost:8080/jsonrpc`
|
||||
|
||||
**Audio:** `curl --data-binary '{ "jsonrpc": "2.0", "method": "AudioLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://kodi:kodipass1234@localhost:8080/jsonrpc`
|
||||
|
||||
### To remove content from library (Clean):
|
||||
|
||||
**Video:** `curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Clean", "id": "mybash"}' -H 'content-type: application/json;' http://kodi:kodipass1234@localhost:8080/jsonrpc`
|
||||
|
||||
**Audio:** `curl --data-binary '{ "jsonrpc": "2.0", "method": "AudioLibrary.Clean", "id": "mybash"}' -H 'content-type: application/json;' http://kodi:kodipass1234@localhost:8080/jsonrpc`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user