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 … 453 454 455 456 457 … 1231 Next »
Update EPG questions

 
  • 0 Vote(s) - 0 Average
Update EPG questions
nomh7
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Oct 2006
#1
2007-10-04, 10:16 PM
I am running into some problems getting my EPG to automatically update. I am using Zap2XML and an UpdateEPG.bat file. When I run the batch file manually from a DOs prompt, it updates the XML file correctly. I then have to go in to gbpvr and click Update EPG to actually get the listings updated in the guide. Simply selecting Update EPG or scheduling an update via gbpvr is not updating my guide. Can somebody please give me some ideas as to what may be the problem?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#2
2007-10-04, 11:17 PM
You probably need to set the path in your batch file. ie, something like this at the beginning of the batch file:

Code:
c:
cd "\program files\devnz\gbpvr"
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#3
2007-10-04, 11:18 PM
nomh7 Wrote:I am running into some problems getting my EPG to automatically update. I am using Zap2XML and an UpdateEPG.bat file. When I run the batch file manually from a DOs prompt, it updates the XML file correctly. I then have to go in to gbpvr and click Update EPG to actually get the listings updated in the guide. Simply selecting Update EPG or scheduling an update via gbpvr is not updating my guide. Can somebody please give me some ideas as to what may be the problem?

What does your UpdateEPG.bat file look like?

I've had problems using the UpdateEPG.bat in the past couple of months because GB-PVR doesn't run it under the user account as if "you" are double-clicking the bat file or the scrapper. Also, if you're storing the xmltv file on a server you login to, the same problem applies.

I've read suggestions on having the Recording Service run as your user account, etc. I prefer to keep GB-PVR "as is."

MY SOLUTION was to move the UpdateEPG bat file out of the GB-PVR directory so it won't try to run it, and instead scheduling it as a task (Control Panel) to run before GB-PVR updates the EPG. GB-PVR will then just load your xml listings and you'll be fine.
nomh7
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Oct 2006
#4
2007-10-05, 12:09 AM
Thanks for the ideas.

Sub - I do have a line setting the path at the beginning of the batch file which sets up to the gbpvr directory. If I manually run the file through dos or just a double-click it runs through fine minus actually updating the guide.

smajor - I do have a scheduled task in Windows as a workaround, I was hoping to figure out why I can't get it automated through gbpvr. It has become personal at this point and unfortunately I only know enough to be dangerous to myself so I am hoping somebody on the board can help me out. I will try to post the file tonight after I get home.
nomh7
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Oct 2006
#5
2007-10-05, 06:35 AM
Below are the contents of my UpdateEPG.bat file...

Code:
c:
cd "c:\program files\devnz\gbpvr"
del "c:\program files\devnz\gbpvr\zap2xml\cache" /Q
"c:\program files\devnz\gbpvr\zap2xml\zap2xml.exe" -u ******* -p ******** -d 5 -o zap2xml\epgfile.xml -c zap2xml\cache -e

It seems like gbpvr is not even going to the bat file when I hit the Update EPG button. If i manually clear out the EPG data and remove all the channels from the source then press Update EPG (in the gbpvr config), it immediately displays the message "Saving new listings and channel information." for about 10 seconds then is 'done'. The result is the same only taking longer if I do not clear everything out first. Nothing is imported or changed.

If, however, I run the above batch manually then press the Update EPG button everything is peachy. Any thoughts?
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#6
2007-10-05, 09:34 AM
What happens if you try the update EPG from within gbpvr under the system menu or right click on the tray icon & try it from there??
nomh7
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Oct 2006
#7
2007-10-05, 03:06 PM
Jaggy Wrote:What happens if you try the update EPG from within gbpvr under the system menu or right click on the tray icon & try it from there??

Same thing as if I try to do it from the Config. Nada.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#8
2007-10-05, 03:22 PM
Zip and post your gbpvr\logs directory. Also, are you running Vista by any chance?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#9
2007-10-05, 04:09 PM
nomh7 Wrote:It seems like gbpvr is not even going to the bat file when I hit the Update EPG button.
Thats actually normal if you're talking about the 'update epg' button in the capture source settings.

It only runs these batch files when it's doing a system-wide "all capture source" update, like the automated night update or the 'update epg' button in the system tray.
nomh7
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Oct 2006
#10
2007-10-05, 05:51 PM
sub Wrote:Thats actually normal if you're talking about the 'update epg' button in the capture source settings.

It only runs these batch files when it's doing a system-wide "all capture source" update, like the automated night update or the 'update epg' button in the system tray.

OK, it makes more sense now. I also found something quirky with the way it uses the cache. It wasn't actually going out and getting new data every time. I think it is working now...

Just in case, I have attached the logs as requested from another post above. If anybody can give them a quick check and see if it looks ok in the logs I would appreciate it.

Great program Sub...many thanks to you.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  "database disk image is malformed" during attemped EPG update! (GBPVR v.1.4.7) DaveA 4 3,329 2011-01-23, 06:35 PM
Last Post: DaveA
  EPG won't update nate 3 2,593 2011-01-04, 03:55 PM
Last Post: sub
  Update EPG Issue dean70 1 1,898 2010-11-13, 05:31 PM
Last Post: sub
  General questions about Vista64 and GBPVR .... what to do? 8ace 6 3,057 2010-10-18, 03:20 PM
Last Post: 8ace
  EPG update problem NZ Fredo 5 2,819 2010-10-13, 10:42 PM
Last Post: Jaggy
  xmltv update timing problem aneez 3 2,108 2010-09-29, 06:34 AM
Last Post: aneez
  EPG update problem Aelanna 5 2,887 2010-09-26, 03:01 PM
Last Post: Aelanna
  Couple Questions jwelters 4 2,415 2010-08-26, 10:06 PM
Last Post: pBS
  EPG update error aibo 38 10,460 2010-07-23, 02:35 AM
Last Post: User
  Guide update registers multiple conflicting programs keith_leitch 0 1,318 2010-07-09, 09:48 PM
Last Post: keith_leitch

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

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

Linear Mode
Threaded Mode