You are here

ARGUS TV

1. Install and configure WG++ (see the Windows install documentation)

2. Make a script to run WG++

Create a file called UpdateEPG.bat in the WG++ program home folder "C:\ProgramData\ServerCare\WebGrab" (or else where if you like, but then don't forget to adjust the COPY line).

@ECHO off
:CheckOS
IF EXIST "%PROGRAMFILES(X86)%" (GOTO BIT64) ELSE (GOTO BIT32)

:BIT64
SET ProgramPath=%PROGRAMFILES(X86)%
GOTO END

:BIT32
SET ProgramPath=%PROGRAMFILES%
GOTO END

:END
"%ProgramPath%\ServerCare\WebGrab+PlusV1.1.1\WebGrab+Plus.exe" "C:\ProgramData\ServerCare\WebGrab"

@REM copy the guide.xml to the argus folder (this to ensure WG++ can do incremental updates)
COPY /Y "C:\ProgramData\ServerCare\WebGrab\guide.xml" "C:\ProgramData\ARGUS TV\XMLTV\guide.xml"

@REM comment out next line, to stop the command window from automaticly closing
@REM PAUSE

EXIT

3. Check if the script runs ok.

Execute the script manually (double click on it). Check if all goes well.

4. Schedule Windows, to run this script (see the Windows Scheduling documentation)

 

 

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl