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 … 378 379 380 381 382 … 433 Next »
PostUpdatEPG.bat not running

PostUpdatEPG.bat not running
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#11
2011-02-03, 03:29 PM
In any case, until the bug that interrupts recordings going on while automatic epg-update runs (and creates a new unsuccessfull recording) is fixed, I cannot use the automatic epg-update.

"I'd rather have a bottle in front of me than a frontal lobotomy"
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#12
2011-02-03, 03:48 PM
it is fixed, patch #31
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
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#13
2011-02-03, 03:52 PM
roy Wrote:PostUpdateEPG.bat did not run during/after my automatic EPG update last night. As mentioned, it does not run for me when I do EPG Update from system plugin either.
you've got something wrong then; remember that nrecord runs the epg update and post update as the "System" user so perhaps you have a permission problem.

Quote:I think it should be run whenever/however an EPG Update is run, I think the EPG Update process should be the same whenever it is run.
postupdateepg.bat is not supposed to be part of the EPG Update process. it's for scheduling other nightly maintenance routines. if something is part of the epg update, then it should be included in the updateepg.bat.
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
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,715
Threads: 767
Joined: Nov 2003
#14
2011-02-03, 04:35 PM
imilne Wrote:I can confirm that the System plugin does *not* make any calls to run the batch file. If it needs to, I can add it, but it would be handy if sub could confirm whether it needs to or not (just in case it's a bug).
The app will run it automatically whenever it updates the epg (with the exception of live tv updating the DVB EPG).
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,715
Threads: 767
Joined: Nov 2003
#15
2011-02-03, 04:43 PM
johnsonx42 Wrote:ok, on my system the PostUpdateEPG.bat DOES run when I click "UpdateEPG" in Settings. Worse, it sits and waits while the PostUpdateEPG.bat finishes - it's supposed to be a non-blocking call.
Incorrect. UpdateEPG.bat and PostUpdateEPG.bat are intentionally run synchronously, and the update is not considered complete until after PostUpdateEPG.bat has completed. At this point it lets plugins know that the EPG update has completed, and reloads the TV Guide etc.

Quote:sub, as described above I really think the PostUpdateEPG.bat ought to only be run as part of the automatic epg update. recall that Whurston originally requested it for the purpose of updating the netflix database on his plugin - that update takes 2+ hours. it shouldn't be run if the user clicks "UpdateEPG" because they're trying to load new channel listings or troubleshoot a bug.
No, it's definitely doing the right thing. It needs to run at the end of any EPG update to allow EPG utilities to do any work, before application looks at that new data. If Whurlston wants to tack some night processing in there, unrelated to the EPG, and it's going to take a long time to complete, then he can use 'start xxxxxx" in his PostUpdateEPG.bat, to spawn off a new process that wont hold up the EPG processing.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,715
Threads: 767
Joined: Nov 2003
#16
2011-02-03, 04:56 PM
roy Wrote:PostUpdateEPG.bat did not run during/after my automatic EPG update last night. As mentioned, it does not run for me when I do EPG Update from system plugin either.
I've double checked the code, and I'm sure it'll be trying to run this file. There is nothing conditional about it in the application code, if the file exists, then it runs it.

If its doesnt appear to be running, then I'm pretty sure it'll be one of these:
- file is named wrong, or in wrong directory, so never run
- file is run, but some commands in the file are expecting certain current directory, so commands are not found when bat file executes
- security is stopping the file from being seen/run.

I've added some logging around this in the next release, to make it clearer to users what is happening.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#17
2011-02-03, 05:25 PM
ok, I was basing my comments off the original discussion surrounding the PostUpdateEPG.bat file 6 months ago. I'm 100% certain when whurlston asked for it to be implemented, it was supposed to be a non-blocking call run after the EPG update, and independant of the EPG update routine. It's fine if that's not how it is or how you want it, I just need to change my understanding of the purpose of it.

I also need to change the way I documented it in the sticky, and also check the wiki since some stuff in the wiki is copied from the sticky.
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
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,715
Threads: 767
Joined: Nov 2003
#18
2011-02-03, 05:40 PM
GBPVR was exactly the same, and ran it synchronously before the EPG update completed.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#19
2011-02-03, 05:47 PM (This post was last modified: 2011-02-03, 06:02 PM by johnsonx42.)
I didn't even know GBPVR had a PostUpdateEPG.bat...

anyhow, just so you know where I got my crazy ideas from:
whurlston Wrote:I have requested a "PostUpdateEPG.bat" from sub that will be called after the EPG update and will not be a blocking call. This way NRecord can continue with it's other tasks without waiting for the Netflix update. PostUpdateEPG.bat should be available soon.

and also here: http://forums.nextpvr.com/showthread.php...post384401

those two bits of info - whurlston describing his request, and you saying "yes" to my question describing the feature - are really the only information I've ever seen explaining the feature.
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
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#20
2011-02-03, 06:09 PM
johnsonx42 Wrote:it is fixed, patch #31

Right, I'd missed that one. Thanks, now I can start using the automatic update.

"I'd rather have a bottle in front of me than a frontal lobotomy"
« 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
  Auto Update EPG not running as scheduled? BairStrokes 2 1,722 2021-03-26, 12:02 PM
Last Post: NumberFive
  Recording service stopped or not running at scheduled time MattInetroit 3 1,884 2021-01-08, 12:03 AM
Last Post: mvallevand
  Auto Update EPG not running as scheduled Bobbybear 10 3,591 2020-10-24, 09:24 AM
Last Post: Bobbybear
  Recording service not running at recording time Ricknextpvr 18 6,327 2020-03-26, 03:56 PM
Last Post: sub
  IR Blasting from Kodi running NextPVR addon three6zerocool 11 2,883 2019-07-31, 04:51 PM
Last Post: sub
  UpdateEPG.bat not running jrockow 1 1,002 2019-06-26, 04:08 PM
Last Post: sub
  Error "Recording service not running" -- but really no tuners available? daneo 6 2,124 2019-01-30, 02:11 PM
Last Post: daneo
  Running into issues with the EPG bdken 7 1,908 2019-01-12, 04:44 PM
Last Post: sub
  Recording service not running at recording time johnm 7 2,754 2018-11-26, 02:36 AM
Last Post: johnm
  Extremely buggy running and crashing in NPVR client, but not as Kodi back end... gdogg371 3 1,357 2018-07-17, 09:29 AM
Last Post: gdogg371

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

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

Linear Mode
Threaded Mode