NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 406 407 408 409 410 … 433 Next »
UpdateEPG.bat not being executed

UpdateEPG.bat not being executed
DrSoftware
Offline

Junior Member

Posts: 34
Threads: 7
Joined: Jun 2009
#1
2010-09-26, 05:46 AM (This post was last modified: 2010-09-26, 05:47 AM by DrSoftware.)
i created an UpdateEPG.bat and put it into c:\users\public\npvr\scripts. but it never gets called by NextPVR. Here's the contents of my batch file:

cd ..\epg
wget http://nzepg.org/freeview.xml.gz
gzip -d -q -f freeview.xml.gz
date /t >> log.txt
time /t >> log.txt


both wget.exe and gzip.exe are in the EPG directory.

If I start up NextPVR go to settins/channels and click Update EPG, it reloads freeview.xml from the EPG directory but doesn't execute updateepg.bat.

Log file attached.
[SIZE="1"]
  • [SIZE="1"]HTPC - Silverstone LC10 case, AMD X2 6000, 9800GT Passive cooled, 1.5TB Samsung EcoGreen HDD, 2TB Hitachi, Corsair PSU, LiteOn BD-ROM, Hauppauge Nova-T-500 dual DVB-T tuner. Audio out via SPDIF optical on M/B to Marantz Amp/Receiver.[/SIZE]
  • [SIZE="1"]Workstation - Core i7, 2 x 300GB WD Velociraptor, Gigabyte GTX260, 8GB RAM, Windows Server 2008, Hauppauge Nova-T-500[/SIZE]
  • [SIZE="1"]Server - Asus P5E, Q6600, 4 x 320GB HDD in RAID 10, 4 GB DDR2 800, Gigabyte 9800GT, Windows Server 2008[/SIZE]
[/SIZE]
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#2
2010-09-26, 05:54 AM
I would suggest you should put the complete path in your cd command rather than the relative path.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2010-09-26, 05:15 PM (This post was last modified: 2010-09-26, 05:45 PM by pBS.)
cd ..\epg will take you to \program files\epg...as the ..\ takes you back a dir, but you'll be starting in a different place, not All Users\Documents\NPVR\Scripts
add an "echo %cd% >> log.txt" at beginning of file to show current path..

note: cd "%~dp0" will cd to batch file's dir always... [%0 is batch file path/name]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
DrSoftware
Offline

Junior Member

Posts: 34
Threads: 7
Joined: Jun 2009
#4
2010-09-26, 06:54 PM
Thanks guys, good spotting, problem solved.
[SIZE="1"]
  • [SIZE="1"]HTPC - Silverstone LC10 case, AMD X2 6000, 9800GT Passive cooled, 1.5TB Samsung EcoGreen HDD, 2TB Hitachi, Corsair PSU, LiteOn BD-ROM, Hauppauge Nova-T-500 dual DVB-T tuner. Audio out via SPDIF optical on M/B to Marantz Amp/Receiver.[/SIZE]
  • [SIZE="1"]Workstation - Core i7, 2 x 300GB WD Velociraptor, Gigabyte GTX260, 8GB RAM, Windows Server 2008, Hauppauge Nova-T-500[/SIZE]
  • [SIZE="1"]Server - Asus P5E, Q6600, 4 x 320GB HDD in RAID 10, 4 GB DDR2 800, Gigabyte 9800GT, Windows Server 2008[/SIZE]
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  UpdateEPG.bat works manually but not daily automatically. (script included) acegolfer 11 4,732 2019-08-11, 02:34 PM
Last Post: mvallevand
  UpdateEPG.bat not running jrockow 1 1,056 2019-06-26, 04:08 PM
Last Post: sub
  epg UpdateEPG MaxOne72 6 2,044 2018-09-16, 06:29 PM
Last Post: MaxOne72
  no UpdateEpg bat file found Adeski 2 1,326 2018-08-27, 08:04 PM
Last Post: Adeski
  UpdateEPG.bat is not downloading DBA/ATSC data elstaci 10 2,794 2018-07-14, 01:09 PM
Last Post: elstaci
  Windows 10 Sleeps Before UpdateEPG and Recordings Start spartankl01 2 1,435 2018-01-17, 05:08 PM
Last Post: sub
  UpdateEPG.bat not being triggered. (Using Webgrab+Plus) pmcdon 12 5,670 2017-04-11, 04:15 PM
Last Post: pmcdon
  Is UpdateEPG.bat needed with Schedules Direct? 4zm4r3d02 3 2,831 2017-02-22, 06:01 PM
Last Post: HarryH3
  (no show details) - UpdateEPG not pulling correct data? andyjoyb 12 4,045 2016-06-02, 12:49 AM
Last Post: andyjoyb
  updateepg.bat script to check if a recording is in progress before update snagglewest 18 5,351 2015-10-04, 04:44 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode