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 … 251 252 253 254 255 … 1231 Next »
PostUpdateEPG.bat Not Being Executed

 
  • 0 Vote(s) - 0 Average
PostUpdateEPG.bat Not Being Executed
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#1
2008-09-25, 01:17 PM
I noticed on my system that recording-dump.xml had not been updated in the past few days. I tried requesting an "Update EPG" from the Capture Sources page of CONFIG and noticed that the PostUpdateEPG.bat file is not being run. The EPG was updated when I did this.

If you tell me what log files would help you analyze this and whether I should set CONFIG to log on ERROR, DEBUG, etc I will create the log files for you.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#2
2008-09-25, 01:37 PM
I would not expect PostUpdateEPG.bat to run when you update the EPG in Config.

AFAIK, It is run when the EPG is updated according to the schedule set in Config.

It may also run when you hit Update EPG on the System page in PVRX2.
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#3
2008-09-25, 01:44 PM
Graham Wrote:I would not expect PostUpdateEPG.bat to run when you update the EPG in Config.

AFAIK, It is run when the EPG is updated according to the schedule set in Config.

It may also run when you hit Update EPG on the System page in PVRX2.
Unfortunately, I do not currently have the System page enabled in PVRX2. I will try that once the program is through making some recordings in a couple hours. I will also try changing the time the EPG update is scheduled to see if that causes the bat file to run.

I don't see the rationale in not running the PostUpdateEPG bat file if the update is requested from within Config.
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#4
2008-09-25, 01:58 PM
Graham Wrote:I would not expect PostUpdateEPG.bat to run when you update the EPG in Config.
AFAIK, It is run when the EPG is updated according to the schedule set in Config.
It may also run when you hit Update EPG on the System page in PVRX2.
I've seen sub say something like this. In fact, I searched and he said:
Quote:Running the [UpdateEPG.bat] batch file only happens with the automated EPG update, or from System screen's Update EPG button. It doesnt happen from the capture source 'update epg' button (since this is related to a single capture source, not a system wide epg update).

In the context of an xml based EPG, am I correct in thinking that the purpose of the scheduled automated EPG update and the System screen Update EPG button is to download new xml data (from Schedules Direct, yapi, mcexml or wherever), while the purpose of the update EPG button on each capture source in config is to transfer data from the current xml file into the gbpvr.db3 EPG database for a single capture source ?

In the first case, it would run both UpdateEPG.bat and PostUpdateEPG.bat to download new xml data for all capture sources, and presumably then proceed to post that data into the guide, while in the second case, it would not run either bat file, and would not download anything new, but would access an existing xml data file associated with a single capture source and post that data into the guide only for that capture source. Correct?
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#5
2008-09-25, 05:14 PM
I ran Update EPG from the System display and it did cause PostUpdateEPG.bat to run.

I think my problem had been that I put a line in UpdateEPG.bat to switch the current directory away from GBPVR. When PostUpdateEPG.bat run, it assumed that the current directory was GBPVR and it wasn't. I added a line to PostUpdateEPG.bat to fix this.
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#6
2008-09-25, 05:38 PM
LewE Wrote:I ran Update EPG from the System display and it did cause PostUpdateEPG.bat to run.

That's what it should have done.

(to sub: If you get a chance I'd appreciate it if you would briefly confirm my understanding of how this works - as set forth in my post above- Thanks)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#7
2008-09-25, 05:46 PM
When the system does its automated epg update it runs approximately the following:

1) run UpdateEPG.bat if it exists
2) empty listing from the database
3) for each capture source, pull in listings from the configured epg source
4) save the listings into gbpvr.db3
5) run PostUpdateEPG.bat if it exists.

These step happen automatically at the configured EPG update time, or when you click the 'update epg' button in the System screen.

The 'update epg' in your capture source settings is different and only does a subset of these steps (#3 and #4), and only for that single capture source. It pulls the listings from the configured EPG Source, and saves them to gbpvr.db3. The primary reason this button exists is to pull in the channel list when setting up the capture source.
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#8
2008-09-25, 06:14 PM
sub Wrote:When the system does its automated epg update it runs approximately the following:

1) run UpdateEPG.bat if it exists
2) empty listing from the database
3) for each capture source, pull in listings from the configured epg source
4) save the listings into gbpvr.db3
5) run PostUpdateEPG.bat if it exists.

These step happen automatically at the configured EPG update time, or when you click the 'update epg' button in the System screen.

The 'update epg' in your capture source settings is different and only does a subset of these steps (#3 and #4), and only for that single capture source. It pulls the listings from the configured EPG Source, and saves them to gbpvr.db3. The primary reason this button exists is to pull in the channel list when setting up the capture source.

Thanks! That's exactly what I wanted to know - much appreciated.

I'm not at home, but IIRC, there's an "empty EPG" button in config too for each capture source. Does that do anything other than just run step 2 above? The reason I ask is that it gives a scary warning (something about losing scheduled recordings?). I haven't quite figured out what the warning means for me, so the few times I've used it, I've just decided I'm willing to reschedule anything I lose, but then I can't seem to find any negative effect
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#9
2008-09-30, 03:22 AM
sub Wrote:When the system does its automated epg update it runs approximately the following:

1) run UpdateEPG.bat if it exists
2) empty listing from the database
3) for each capture source, pull in listings from the configured epg source
4) save the listings into gbpvr.db3
5) run PostUpdateEPG.bat if it exists.
sub, please indicate where in this sequence the file recording-dump.xml is created and recording-dump.xml.bak is updated.

This will help me understand exactly where my automatic EPG update is failing, as is being discussed in another thread. Do all these steps, including PostUpdateEPG.bat, have to successfully complete before you create the recording-dump.xml file?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#10
2008-09-30, 03:39 AM
LewE Wrote:sub, please indicate where in this sequence the file recording-dump.xml is created and recording-dump.xml.bak is updated.
It'd be between 4 and 5.

Quote:This will help me understand exactly where my automatic EPG update is failing, as is being discussed in another thread. Do all these steps, including PostUpdateEPG.bat, have to successfully complete before you create the recording-dump.xml file?
In relation to your other thread, none of the following steps will proceed until UpdateEPG.bat completes. If it never completes, then none of the other steps will run.
« 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
  PostUpdateEPG - when does it run? bgowland 2 1,441 2008-05-08, 09:33 PM
Last Post: bgowland
  postprocessing.bat not being executed trevparks 7 2,598 2006-09-22, 11:01 AM
Last Post: HtV
  PostUpdateEPG ydekmekji 2 1,698 2006-04-28, 05:39 PM
Last Post: ydekmekji
  PostUpdateEPG.bat was held up KingArgyle 3 1,571 2005-09-22, 05:14 PM
Last Post: sub
  What should be in the postprocessing.bat/PostUpdateEPG.bat 0 256 Less than 1 minute ago
Last Post:

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

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

Linear Mode
Threaded Mode