![]() |
|
[WINDOWS] HOW-TO schedule automatic library updates - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85) +--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110) +--- Thread: [WINDOWS] HOW-TO schedule automatic library updates (/showthread.php?tid=65681) |
- phillipah - 2011-11-08 01:52 Something I did was put this in a CMD script and have it run after you move your video to the right folder. In my case I have everything automated. Files get downloaded and then post processing happens and I included these 2 lines in that script. You dont have to AutoIt to achieve the same thing. Code: "C:\Program Files\GnuWin32\bin\wget.exe" http://localhost:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn(UpdateLibrary(video))RE: [WINDOWS] HOW-TO schedule automatic library updates - demori - 2012-12-19 06:58 If anyone else has been using this on their HTPC for so long that they forgot about it, here's the deal. It no longer works with Frodo. The old HTTP API has been deprecated. You can update your script to something equally simple/strange by: 1. Downloading curl.exe. (For this example I put it at the C:\ root directory.) 2. Replace the autoIt au3 code with Code: ;OLD HTTP APIThis can be verified via the XBMC JSON RPC Documentation where there are calls to do much more than just re-scan the video library. Cheers. |