update library using json and curl?
#3
(2012-04-20, 11:11)jhsrennie Wrote: Hmm, a quick look at http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v4 suggests there is no VideoLibrary.Update method, however there is a VideoLibrary.Scan.

I would just use the HTTP API. Theoretically it's deprecated and scheduled for removal, but this won't happen for a while (not ever if I get my way). You want something like:

curl http://myserver/xbmcCmds/xbmcHttp?comman...ry(video))
Thanks for the pointer but how can I tweak the command to update only, say, /dev/sdd1 or a source called "films_on_HDD2"?

Reply


Messages In This Thread
RE: update library using json and curl? - by nanouk76 - 2012-04-20, 16:53
Logout Mark Read Team Forum Stats Members Help
update library using json and curl?0