NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 505 506 507 508 509 … 1231 Next »
Help With UpdateEPG.bat

 
  • 0 Vote(s) - 0 Average
Help With UpdateEPG.bat
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#1
2007-07-25, 09:43 PM
Hello, I'm a Newbie at doing a batch file and am having a problem. Below is my .bat file that I am having issues with. It's been at the root of my GBPVR directory just as suggested, but during the EPG Update it doesn't appear to be called. I have one source using the XMLTV file and one using Zap2It (the latter soon to be replaced.)

"C:\Program Files\YahooXMLTv\YahooXMLTv.exe"
copy "C:\Program Files\YahooXMLTv\Time Warner Cable (Watertown).xml" N:\

If I double click the .bat file it executes perfectly and does what I want.

I looked in my logs and GB-PVR does seem to be doing a listings update with Zap2It and is loading the XML listings at the scheduled. I didn't see anything specific in the log that said it was executing the .bat before the listings update. Should I have?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,005
Threads: 770
Joined: Nov 2003
#2
2007-07-25, 09:44 PM
Its important to note that UpdateEPG.bat is only called as part of the automated EPG update, not when you just click the 'update epg' button in the capture source settings.
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#3
2007-07-25, 09:53 PM
sub Wrote:Its important to note that UpdateEPG.bat is only called as part of the automated EPG update, not when you just click the 'update epg' button in the capture source settings.

Understood. I've had it set up for 3 days just waiting for nature to take it's course during an automated update. It hasn't. Sad

I'm considering (if no one has a suggestion here) just calling it via Windows Task Scheduler just to see.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,005
Threads: 770
Joined: Nov 2003
#4
2007-07-25, 10:12 PM
If you zip and attach your GBPVRRecordingService.exe.log then I'll take a look. It should mention UpgradeEPG.bat being run.

The other thing to look out for is the working directory. Is there any other files it depends on in that directory? If so, then you may need to add a line like this at the beginning:

Code:
cd "C:\Program Files\YahooXMLTv\"
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#5
2007-07-26, 01:06 AM
And probably before that: cd \ because the working dir when you start is c:\program files\devnz\gbpvr, so first you go back to the root.

so that would add up to:

cd \
cd "C:\Program Files\YahooXMLTv\"
YahooXMLTv.exe
copy "Time Warner Cable (Watertown).xml" N:\
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#6
2007-07-26, 12:28 PM
I'd also add the /d parameter to cd... i.e.:
Code:
cd /d "C:\Program Files\YahooXMLTv"
Author of Weather (NPVR) & Weather2 (GBPVR)
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#7
2007-07-26, 01:18 PM
scb147 Wrote:I'd also add the /d parameter to cd... i.e.:
Code:
cd /d "C:\Program Files\YahooXMLTv"

What does it do? I'm too lazy to google.Smile
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#8
2007-07-26, 03:37 PM
"Use the /D switch to change current drive in addition to changing current directory for a drive."
Author of Weather (NPVR) & Weather2 (GBPVR)
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#9
2007-07-26, 07:15 PM
But that wouldn't be necessary in this example, would it?
Because you don't change drive, or am I missing something?
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#10
2007-07-26, 08:54 PM
No, not necessary in your example... I just use it in case Windows does something crazy, like start the command prompt at a D: instead of C:, etc.... Kind of a failsafe Smile

It makes me feel better Wink
Author of Weather (NPVR) & Weather2 (GBPVR)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with updateEPG.bat? Seems to run in a loop, unpredictable aberson 4 2,189 2010-08-23, 07:56 PM
Last Post: sub
  UpdateEPG in System session... zehd 8 3,290 2009-02-24, 12:02 AM
Last Post: zehd
  UpdateEPG confusion gazoo 34 8,816 2008-12-19, 12:26 AM
Last Post: zehd
  UpdateEPG.bat not working? SLR_65 2 1,848 2008-12-05, 02:17 AM
Last Post: SLR_65
  missing UpdateEPG.bat srhutch 3 1,987 2008-11-29, 07:35 AM
Last Post: zehd
  Updateepg.bat feilh 15 5,182 2008-11-28, 09:41 PM
Last Post: feilh
  XMLTV grabber from UpdateEPG.bat? fausto 3 2,248 2007-12-07, 03:07 PM
Last Post: nafurahi
  GBPVR UpdateEPG.bat caschwall 6 2,610 2007-12-04, 04:34 PM
Last Post: HtV
  updateEPG.BAT text?? dernt 2 1,672 2007-09-25, 10:45 AM
Last Post: sub
  UpdateEPG errors? Anthony 1 1,350 2007-09-15, 04:19 PM
Last Post: Nomad101

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

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

Linear Mode
Threaded Mode