xbmc-send 'Scan for Content'?
#1
Ok since no one can figure out why the Dharma betas can update movie content, does anyone the xbmc-send command for 'Scan for Content'? This seems like the only way to update the movie library
Reply
#2
I dont really understand your question. I dont think anyone has trouble updating their library.

Are you talking about mapping a button or doing it via http?

Map a button on the remote use "scanitem" for the selected folder.

http I dont use scanitem I update the entire library and it does work with dharma.

Code:
http://192.168.1.100:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=XBMC.updatelibrary(video)

The http way is well documented in the forums.

scanitem, it seems I am the only one doing it as the forums are empty on this subject except for me mentioning it.
Reply
#3
This is not for a remote, but to have my movie library updated every night. You can check out the issues here: http://forum.xbmc.org/showthread.php?tid=78057 and here: http://forum.xbmc.org/showthread.php?tid=83360
Reply
#4
xbmc-send --action="XBMC.updatelibrary(video)"

works fine for me using Beta 4 r35068


Is xbmc running when you try that?
Reply
#5
You can also use the new JSON interface.

Code:
curl -i -X POST -d '{"jsonrpc": "2.0", "method": "VideoLibrary.ScanForContent", "id": "1"}' http://10.1.1.113:8080/jsonrpc


assuming 10.1.1.113 is your xbmc IP, and 8080 is the web address setup.
Reply
#6
dan1son Wrote:You can also use the new JSON interface.

Code:
curl -i -X POST -d '{"jsonrpc": "2.0", "method": "VideoLibrary.ScanForContent", "id": "1"}' http://10.1.1.113:8080/jsonrpc


assuming 10.1.1.113 is your xbmc IP, and 8080 is the web address setup.

And how would you specify a directory to scan in the example above?
Reply
#7
GJones Wrote:And how would you specify a directory to scan in the example above?

I too would like to know
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc-send 'Scan for Content'?0