Updating Library from the Console
#1
Is there a way to update the XBMC library (pick up new movies, scan TV shows for new content, etc.) remotely via the terminal? Or even a web frontend that can do this?
Reply
#2
yes. using the event server or the webserver submit the updatelibrary(video) builtin
Reply
#3
I use this command from a different computer on my network. It works as long as XBMC is running and web server is active

Code:
curl --get "http://IP OF XBMC:PORT/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=XBMC.updatelibrary(video)"

Change IP and PORT to what you have setup. This will update the library remotely

Cheers!
Reply
#4
I'm curious, is there a way to express that as a URL you could just put into any browser?

If so I could make it a bookmark in firefox which would be really cool!
Reply
#5
uhm.. yes? it's an url
Reply
#6
http://IP OF XBMCTongueORT/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=XBMC.updatelibrary(video)

Change IP and port....
Openelec Gotham, MCE remote(s), Intel i3 NUC, DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoded with Handbrake to x.264. Yamaha receiver(s)
Reply
#7
Nice, I was just trying to figure out how to do this.

Works well as a cron job.
Reply

Logout Mark Read Team Forum Stats Members Help
Updating Library from the Console0