Here is the script
Code:
#! /bin/bash
sleep 120
curl --get "http://192.168.1.104:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=XBMC.updatelibrary(video)"Since the update,
Code:
curl --get "http://192.168.1.104:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=XBMC.updatelibrary(video)"Manual update (right click, update) will trigger and execute rescan without any problems.
It seems that the Web Server HTTP API is deprecated with Eden, and I have to use the Json. I dont know how to di , though, can I use it in shell script.
Please, if anyone can help, post how-to example

I tried with this, too:
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://IP:8080/jsonrpc
Same error.
Tried to re-scan (right-click) the movies lib, same error. It this a movie.db error , or XBMC bug? Tv episodes scan ok ( when I right-click an episodes folder...

Search
Help