2011-10-09, 19:44
I use a similar method to update my library. Using windows task manager and a vbscript.
Save the above with a vbs extension and add as a scheduled task to execute as often as you want. Obviously you can edit the url to change IP or add username/password ie http://username:Password@192,168.1.5/xbmcCmds...............
Code:
x = TextFromHTML("http://127.0.0.1/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=XBMC.updatelibrary(video)")
Function TextFromHTML(URL)
set ie = createobject("internetexplorer.application")
ie.navigate URL
do until ie.readystate = 4 : wscript.sleep 10: loop
TextFromHTML = ie.document.body.outerHtml
ie.quit
End Function