2011-05-16, 23:39
Is there best practice on how to have the script run to check for new content?
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.
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.
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.
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
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.
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.