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) TV Listings v
« Previous 1 2 3 4 5 6 … 13 Next »
Scheduler For EPG Collector & NPVR EPG Update

 
  • 0 Vote(s) - 0 Average
Scheduler For EPG Collector & NPVR EPG Update
rwnz
Offline

Member

Posts: 89
Threads: 15
Joined: Aug 2006
#11
2012-07-22, 02:18 AM
Jaggy Wrote:We would need NextPVR logs to check what is going on in that case.... the NRecord.log is the one I think after it should have woken the PC to update the EPG.

I note that NPVR wakes OK to record programs. NRecord.log reflects this too.

With regard to running the EPG, there is no entry in any log (that is in Users\Public\NPVR\Logs folder) which shows any activity at the time I've entered into Update EPG Hour.
Hauppauge WinTV-HVR-2200, Intel C2D E8400; 4GB RAM; ASUS EN9400GT SILENT 512MB; Windows 10 Home 64 Bit; NPVR + EPG Collector. TVersity; Sony Smart TVs; Xtreamer Sidewinders. TV source: DVB-T
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#12
2012-07-22, 02:32 AM
Well start a thread in NextPVR support then with your logs for when it should have run the EPG update for sub to have a look at.... I know it should log something as I have seen it in the logs before but I can't remember which log it was in.
rwnz
Offline

Member

Posts: 89
Threads: 15
Joined: Aug 2006
#13
2012-07-22, 02:46 AM
Thanks Jaggy. I've just noticed that when a recording starts, the NRecord.log does acknowledge the EPG Update Hour
Code:
[...startup]
2012-07-21 14:35:06.039    [DEBUG][4]    OnStart()
2012-07-21 14:35:06.195    [DEBUG][5]    MVPManager thread started
2012-07-21 14:35:06.195    [DEBUG][5]    MVP Server: C:\Program Files\NPVR\NextPVR.exe
2012-07-21 14:35:06.772    [INFO][4]    Using local in-process recording service
2012-07-21 14:35:17.001    [DEBUG][4]    RecordingServiceProxy@exit
2012-07-21 14:35:17.016    [INFO][4]    RecordingService.Startup()
2012-07-21 14:35:17.016    [INFO][4]    Starting remoting service
2012-07-21 14:35:17.063    [DEBUG][8]    [color=#FF0000]Requesting wake up for 'EPGWAKEUP' at 22/07/2012 2:00 p.m.[/color]
2012-07-21 14:35:17.063    [DEBUG][8]    [color=#FF0000]About to update EPG[/color]
2012-07-21 14:35:17.141    [INFO][4]    Starting web server on: 8866
2012-07-21 14:35:17.141    [INFO][4]    Setting working directory to: C:\Program Files\NPVR\
2012-07-21 14:35:17.141    [INFO][4]    Web root: C:\Users\Public\NPVR\web
2012-07-21 14:35:17.188    [DEBUG][8]    Updating EPG...
2012-07-21 14:35:17.328    [DEBUG][8]    [color=#FF0000]About to run C:\Users\Public\NPVR\Scripts\UpdateEPG.bat[/color]
2012-07-21 14:35:17.484    [INFO][7]    RecordingService starting...
2012-07-21 14:35:17.484    [DEBUG][7]    Loading recording schedule
but I don't understand what this is about as it is not at the time set for EPG Update Hour, the script does not appear to run (which it shouldn't do at the time of this recording), and it happens at the start of any recording.
Hauppauge WinTV-HVR-2200, Intel C2D E8400; 4GB RAM; ASUS EN9400GT SILENT 512MB; Windows 10 Home 64 Bit; NPVR + EPG Collector. TVersity; Sony Smart TVs; Xtreamer Sidewinders. TV source: DVB-T
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#14
2012-07-22, 04:03 AM
I see you have posted the not waking etc. problem in the support forum....good

I just tried running a similar command to what you have in your UpdateEPG batch & the "CD" command (like yours) caused a DOS error, so try the modified batch below & see if that fixes the other problem (I'm from the old school & like to do things "one step at a time" & over all it just seems to have saved heaps of time over the years)

Code:
Rem This batch file is triggered by NPVR at the time programmed into Settings-Misc2-EPG Update Hour and downloads the EPG data from Freeview DVB-T into Freeview MHEG.xml (in C:\ProgramData\EPGCollectorV020014). Completion of this triggers NPVR to update its EPG from the Freeview MHEG.xml file.

C:
CD\
CD ProgramData\EPGCollectorV020014
EPGCollector.exe
CD\
rwnz
Offline

Member

Posts: 89
Threads: 15
Joined: Aug 2006
#15
2012-07-22, 05:50 AM
Thank you Jaggy. On its own the batch file works OK with it written the way I have it. If I open it then it will run EPG Collector and download the EPG data to the XML file in the EPG Collector folder. Then when I run Settings - Channels - Update EPG the schedule gets updated. I initially had it written the way you have suggested but I found it didn't affect the way the batch file performed. However I suppose that it could report an error back to NPVR so I'll alter it to what you suggest and see if it affects the EPG Update Hour operation.
Hauppauge WinTV-HVR-2200, Intel C2D E8400; 4GB RAM; ASUS EN9400GT SILENT 512MB; Windows 10 Home 64 Bit; NPVR + EPG Collector. TVersity; Sony Smart TVs; Xtreamer Sidewinders. TV source: DVB-T
rwnz
Offline

Member

Posts: 89
Threads: 15
Joined: Aug 2006
#16
2012-07-22, 06:29 AM
6pm has just passed so before it did I set the EPG Update Hour to 18, emptied the EPG, deleted the xml file and left the computer running. No update occurred.
Hauppauge WinTV-HVR-2200, Intel C2D E8400; 4GB RAM; ASUS EN9400GT SILENT 512MB; Windows 10 Home 64 Bit; NPVR + EPG Collector. TVersity; Sony Smart TVs; Xtreamer Sidewinders. TV source: DVB-T
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#17
2012-07-22, 10:15 PM
Well that would have been a good time to post your logs in that other thread....... sub is unlikely to reply to your questions without you supplying complete logs of it "not doing" it's stuff.
MaleXLR
Offline

Junior Member

Posts: 5
Threads: 0
Joined: May 2014
#18
2014-05-14, 01:02 AM (This post was last modified: 2014-05-14, 06:01 AM by MaleXLR.)
Did you ever get to the bottom of this? Last week my update was happening automatically, but this week it isn't. I did add one extra line to my batch file to clear temporary *.ts live tv files.

Summarising:
If I manually run UpdateEPG.bat it works and I get an updated TVGuide.xml;
Then, if I go to settings and click "Update EPG", my EPG is updated and everyone is happy!

However, as was your experience, if I rely on the NextPVR automatic schedule, nothing is updated and the TVGuide.xml remains unchanged.

I just experimented by removing my "del" line and NextPVR still didn't update.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#19
2014-05-14, 05:39 PM
MaleXLR Wrote:However, as was your experience, if I rely on the NextPVR automatic schedule, nothing is updated and the TVGuide.xml remains unchanged.

The automatic scheduled update EPG runs in the user context of the NextPVR recording service. The batch file may be running in the wrong folder or with the wrong user id.
MaleXLR
Offline

Junior Member

Posts: 5
Threads: 0
Joined: May 2014
#20
2014-05-15, 12:05 AM
Thanks Graham. I hopped onto the end of a different thread and Sub has requested some logs.

The strange thing is that the automatic update unexpectedly sprang into action yesterday at a scheduled time of 6:30:00 pm, but then I changed it to 6:30:00 am and nothing happened this morning. The batch file is in the Scripts folder of "Documents and Settings" (good old Windows XP) and I assume that if the folder and/or user ID was wrong then the 6:30:00 pm update would have failed!?!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Delete Recording crashes NPVR Bobins 14 9,466 2016-12-20, 07:08 PM
Last Post: alibert
  How to auto update EPG guide listings buckeyestargazer 4 5,564 2015-11-24, 12:19 PM
Last Post: pascalb
  "TV Listings.dll" is causing NPVR to crash on startup. MarkHotchkiss 4 3,499 2013-07-14, 08:12 PM
Last Post: mvallevand
  How to add to NPVR? Dirki 15 9,349 2013-02-28, 09:34 AM
Last Post: Dirki
  npvr with ceton - bright house - tv guide/channel setup pvrdiy 23 12,783 2013-02-02, 10:09 PM
Last Post: pvrdiy
  TV Listings not reading NPVR.db3? OTAjunkie 3 3,093 2012-10-01, 02:10 PM
Last Post: OTAjunkie
  Cannot change Recurring->Update Season->Recording Type Petrovski 1 2,212 2012-08-12, 08:20 AM
Last Post: johnsonx42
  What files are required to keep a 2nd instal NPVR running TVListing current? OTAjunkie 1 1,737 2012-02-23, 05:12 PM
Last Post: alibert
  Feature Request: Update cover image Petrovski 1 1,690 2012-01-28, 10:42 AM
Last Post: alibert
  Use with NPVR in Client Mode? Share Database? smajor 8 9,852 2012-01-01, 03:16 PM
Last Post: alibert

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

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

Linear Mode
Threaded Mode