NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 76 77 78 79 80 … 193 Next »
EPG update validation before 'empty epg'

 
  • 0 Vote(s) - 0 Average
EPG update validation before 'empty epg'
V15
Offline

Junior Member

Posts: 3
Threads: 0
Joined: Sep 2007
#11
2007-09-23, 09:31 AM
Cheers gEd - I've removed the other r:/temp reference - missed that one!

And the -deletependingrecurring is great - I've also seen this problem and previously just gone through and deleted the reference, reloaded the epg and reset it up, which is a pain - not too bad since i only have a couple of recurring recordings but still annoying. Will put that on now!

I've got xmltv all setup already, so this should work nicely - thanks guys!
ww4397
Offline

Senior Member

Posts: 382
Threads: 47
Joined: Oct 2005
#12
2007-09-29, 12:28 PM
V15 Wrote:Sorry for being dumb, but just stumbled across this thread - am i right in thinking that, if I have the following file run daily at 1am (scheduled tasks), then it will update (full update) the epg, if i am connected to the net. I the pc is not connected, then it won't do anything (i.e. wont overwrite the epg with blanks)

I save the following .bat file in the xmltv folder, and point GBPVR to the data.xml file found there:
Code:
echo. >> syslog.txt
echo. >> syslog.txt
echo Wake up to download epg on %date% at %time% >> syslog.txt
echo ----------------------------------------------------- >> syslog.txt

copy data.xml data.old

ping www.radiotimes.co.uk
IF ERRORLEVEL 1 goto FAIL

XmltvGUI.exe /Grab /Silent /d7
rem if resulting data.xml file < 5000 bytes abort
for %%R in (data.xml) do if %%~zR lss 5000 goto NORT ELSE echo epg downloaded ok >> syslog.txt

"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyEmptyEPG
"C:\Program Files\devnz\gbpvr\GBPVR.exe" -deletependingrecurring
"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyUpdateEPG

goto END

:FAIL
rem Dont want anything to do here really - just rerun this file tomorrow
goto END

:NORT
echo XMLTV could not be downloaded from the RT site. Restoring previous xml file >> syslog.txt
copy data.old data.xml

:END

Thanks

V15

Is this the contents of your UpdateEPG.bat file or some other batch file?
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#13
2007-09-29, 02:23 PM
I think it could be an updateepg file although I use it (well a similar one) as a Windows Scheduler batch file..
gEd
Offline

Posting Freak

London
Posts: 3,516
Threads: 100
Joined: Jan 2005
#14
2007-09-29, 05:48 PM
systemshark Wrote:gEd,
Err. surely you want to test against radio times not the birtles website. in my script, I'm checking against http://www.radiotimes.com

Pinging radiotimes.com [212.58.235.203] with 32 bytes of data:

Request timed out.
Request timed out.

can't get a ping back from the radiotimes website.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#15
2007-09-29, 06:37 PM
Likewise for my test.... someone has been playing with their firewall ;(

Pinging xmltv.radiotimes.com [212.58.235.206] with 32 bytes of data:

Request timed out.
macgyver
Offline

Member

Posts: 189
Threads: 32
Joined: Jun 2005
#16
2007-10-02, 02:50 PM
Just found this thread and copied the batch file but when the gbpvr.exe -deletependingrecurring line runs it runs the gbpvr interface. Tried the search to see if there are any other posts with that flag mentioned but nothing comes up.
I've tried with PVRX2 but the same happens. Do I need a specific version of gbpvr.exe? I'm running 1.0.16.
All and any help much appreciated.
gEd
Offline

Posting Freak

London
Posts: 3,516
Threads: 100
Joined: Jan 2005
#17
2007-10-02, 04:11 PM
gbpvr will probably launch if the command switch is invalid. Are you 100% that your script contains the lines like this?

"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyEmptyEPG
"C:\Program Files\devnz\gbpvr\GBPVR.exe" -deletependingrecurring
"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyUpdateEPG

btw: I got the middle option from here
http://forums.nextpvr.com/showthread.php...verlapping
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
macgyver
Offline

Member

Posts: 189
Threads: 32
Joined: Jun 2005
#18
2007-10-02, 05:11 PM
Yeah, I cut 'n' pasted the script from this thread so I'm sure it's right.
Thanks for the link to the other thread - I'll have a read and double check it. Again.
V15
Offline

Junior Member

Posts: 3
Threads: 0
Joined: Sep 2007
#19
2007-10-03, 09:29 PM
abiut the radiotimes thing..for me, the main point of this is that im connected to the net (flaky router) so ive changed th "ping radiotimes.co.uk" to "ping google.co.uk" - i also believe this is better without the www.

only just got around to putting this on, so will see how it goes and report back!


thanks again
gEd
Offline

Posting Freak

London
Posts: 3,516
Threads: 100
Joined: Jan 2005
#20
2007-10-03, 09:36 PM
ditto,as I had a flakey netgear wg121 usb device and so i used to ping http://www.birtles.co.uk (and reboot if no response) but i think you are right about the www.

I still need the sleep 90 at the start to give the pci wi-fi a chance to wake up properly. it fails without this.

good luck
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Daily M3U Update SysAdminZ 7 675 2025-05-07, 01:36 PM
Last Post: SysAdminZ
  Add the date/timestamp to the EPG Update Complete line.. BigBillSD 3 655 2024-10-10, 09:32 PM
Last Post: mvallevand
  Multi timing EPG update Ghibson 3 952 2024-03-20, 01:36 PM
Last Post: Ghibson
  Update EPG settings - random update time spin35 2 814 2023-05-12, 08:37 PM
Last Post: BrettB
  Automatically update channels Tunes0710 0 1,446 2022-05-07, 09:57 PM
Last Post: Tunes0710
  update dvb epg while watching a channel. eastavin 0 1,205 2021-01-05, 04:56 AM
Last Post: eastavin
  posibility of two or three Automatic EPG Update per day kfmf 3 2,189 2020-12-28, 12:19 PM
Last Post: Graham
  Link to update LeGrandZombie 0 1,212 2020-06-06, 04:12 PM
Last Post: LeGrandZombie
  v5 Manual EPG Update Lao Pan 0 1,509 2020-06-03, 11:54 AM
Last Post: Lao Pan
  Minor Update to File Date Format johnnyz 7 3,168 2020-04-26, 04:13 PM
Last Post: johnnyz

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode