Hi
i have woorking the epg but i have to scan every day and wait 3 hour to download,...
how i can put the epg on my portal, that do it automatic update ?
thanks
Brought to you by Jan van Straaten
Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl
Well,
Depending on your config file, you can speed up things.
And to automate on windows: http://webgrabplus.com/documentation/interact-your-pvr-software/schedule...
thanks for your reply,..
but i dont have that program like that,.. i have the Webgrabplus.exe in on 1 computer then i press the icon and start to run, when is done i take out the
guide.xml and put it in my server where is the stalker portal.
please if is any guide or tuto how to will be fine
thanks
Well, if you are on windows, you have.
I updated the above link with the content of the UpdateEPG.bat file.
For uploading the resulting guide.xml to the stalker portal, you'll give some more information on how you are doing that now. Then we could see how we could add this to the update script.
But firtst you must make the the above working before going further.
Interesting.... i have a similar wish. My grab takes 17 hours daily. I have it working without a script using windows 10 scheduler
That part is simple enough...in my case i then need to
1. copy to seperate file and overwrite excisting output guide.xml
2. Compress output guide.xml to gzip format, overwrite excisting copy
3. FTP to host server, again overwrite excisting file
I have had a look at this FTP programme: https://winscp.net/eng/docs/guide_schedule
I currently use filezilla for FTP and 7zip for compression. It would appear winscp can be scheduled, i am not sure about 7zip...but there must be a better a way of doing all of the above tasks via a script, however i have somewhere between zero and very little knowledge of writing any script...
Thanks
ok =francis
im using WinXP, intall the WebGrab+ on my PC, the i run every day, when is finished i put the guide.xml with WinSCP on the server, on the stalker portal y press update and appears the guide..
now, i create the UpdateEPG.bat file with the scrip inside and put it on the program i hit 2 and run,... i create the Schedule Tasks
i let you know if works today
@jenseneverest
What I would do:
1. create a UpdateEPG.bat file and call that instead of the program.
For the "Start a program" value use: /c start "WG++" /min "C:\ProgramData\ServerCare\WebGrab\UpdateEPG.bat"
2. in that C:\ProgramData\ServerCare\WebGrab\UpdateEPG.bat file (foregive me if I make a mistake in one of these lines, not tested)
3. create the ftp command file (C:\ProgramData\ServerCare\WebGrab\ftp_script.txt)
you'll have to change some of the values to your personal settings, like:
-guide_new_name.xml
-the.url.of.your.server.com
-your_ftp_username
-your_ftp_password
-public_html/MyRemoteDirectory
ok=francis
thanks for your help
i do this
1. i create a UpdateEPG.bat file like this post and change the name guide_new_name.xml for my, put it on my pc where is the program webgrab
i press 2 times the UpdateEPG.bat file and start working now.
where i do this ? For the "Start a program" value use: /c start "WG++" /min "C:\ProgramData\ServerCare\WebGrab\UpdateEPG.bat"
2. in that C:\ProgramData\ServerCare\WebGrab\UpdateEPG.bat file ,.. its ok i put it and works
3. i create the script ftp command file and put it here (C:\ProgramData\ServerCare\WebGrab\ftp_script.txt) in the program
i change the values to my personal settings, like:
-guide_new_name.xml .... change it on my UpdateEPG.bat file
-the.url.of.your.server.com ..... change and put my url
-your_ftp_username .... change and put my ftp usernam
-your_ftp_password .... change and put my ftp pass
-public_html/MyRemoteDirectory .... change and put cd var/www/html ( where is located the guide)
now i created the Schedule Task and doesnt start indicated (Could not Start) this is on WinXP
on Run: i put .... C:\ProgramData\ServerCare\WebGrab\UpdateEPG.bat
on Start in: i have to put /c start "WG++" /min or this C:\ProgramData\ServerCare\WebGrab\UpdateEPG.bat
but indicated this
An errors has ocured while attempting to set task information.
The specific error is :
0x80070005: Acces is denied.
you do not have permission to perform the requested operation.
im loging as admin.
other thing the guide when is done is with the time zone +0000 i have to change it to -4:00 so is perfect, how i can dounloaded with the correct time zone ?
today i wil now its star automatic and i let you know
thanks
@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 your file to the name you want
@REM(you could also adjust the guide.xml name directly in the config file of wg++)
@REM COPY /Y "C:\ProgramData\ServerCare\WebGrab\italia.xml" "C:\ProgramData\ServerCare\WebGrab\italia.xml"
@REM create the zip file for uploading
"C:\Program Files\7-Zip\7z.exe" a -tzip "C:\ProgramData\ServerCare\WebGrab\italia.zip" "C:\ProgramData\ServerCare\WebGrab\italia.xml"
@REM upload the gzip file to the server
ftp -i -s:ftp_script.txt
@REM comment out next line, to stop the command window from automaticly closing
@REM PAUSE
EXIT
SCRIPT FTP
@ftp -i -s:"%~f0"&GOTO:EOF
open ftp.myusername.altervista.org
my user
my pass
!:--- FTP commands below here ---
lcd "C:\ProgramData\ServerCare\WebGrab"
cd mypath
binary
mput "C:\ProgramData\ServerCare\WebGrab\italia.zip"
disconnect
bye
So, I did the above: batscript itself is working when I give it amin rights manually. It is grabbing and making a zipfile, but it is not uploading the file into my remote server/vps. So, I must be doing sth wrong.
2- The schedual action is also not working and I have been trying every solution I could think of. So, any ideals please?
3. And yes I tried with windows 7 64bit. with or without a password for the active user. And still no joy.
Im using Win XP but doenst do it automatic
i can use it in the same server that i have the panel with ubuntu 14.04 ?
Hello . I make epg and epg works 2 days . No its no working anny help ? Maybe not set to auto update. Im now expiriens with this . Anny help pls . ty