2012-07-05, 21:32
(2011-05-17, 02:05)bradvido88 Wrote:ThermoDust Wrote:Is there best practice on how to have the script run to check for new content?From the log, it looks like it's running every 20 minutes as you want. You can probably turn of DEBUG level logging, it's not needed unless we're doing some really detailed debugging. INFO should be fine.
This is some of my XBMC launch code that I am running when my computer starts to load XBMC and the MyLibrary script. As you can see I have it on a loop so that the script checks for new content every 20 min(Normal will be 2 hours). However unless I close XBMC and reload my launch code it doesn't seem to find any new content.
Also here is the log file http://thermodust.com/XBMC.MyLibrary.2011-05-16.log - Sorry can't post to PasteBin as the log file was to big or something as IE and Firefox said the page stopped working.Code:echo.
echo Starting XBMC MyLibrary Refresh.
start /wait /min "XBMC MyLibrary" "%ProgramFiles%\Java\jre6\bin\java.exe" -jar "C:\Users\LivingRoom\AppData\Roaming\XBMC\MyLibrary\dist\XBMC.MyLibrary.jar"
echo MyLibrary update complete.
echo Waiting 20 minutes to run MyLibrary again.
choice /d y /t 1200 > nul
The log shows it running and checking for almost 9 hours and it never found the new content till I quit the XBMCLoader(my batch file) and reloaded it so it ran the MyLibrary again.
Personally, I run mine on a scheduled task every 1 hour.
What problems are you having with it updating content?
Hi.
bradvido can you please elaborate on what script you run in schedualed task, because if I run this Run-x64, I will get following error:
C:\Windows\system32>"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar "dist\X
BMC.MyLibrary.jar"
Unable to access jarfile dist\XBMC.MyLibrary.jar
What magic do you do?