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 … 142 143 144 145 146 … 433 Next »
Autoupdate EPG Not Working

Autoupdate EPG Not Working
BillW
Offline

Junior Member

Posts: 7
Threads: 1
Joined: Feb 2016
#1
2016-02-12, 01:42 PM
With version 3.6.6 and using Zap2It as EPG source, I cannot get the EPG to update automatically. It will update manually with NPVR 3.6.6 UI under Channels and it has automatically updated with an older version of NPVR.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2016-02-12, 05:05 PM
If you can zip and attach your logs, I'll check what happened last night at EPG update time.
BillW
Offline

Junior Member

Posts: 7
Threads: 1
Joined: Feb 2016
#3
2016-02-13, 01:05 PM
sub Wrote:If you can zip and attach your logs, I'll check what happened last night at EPG update time.

NPVR was set to update EPG at 7:50 AM on 2-13-16. Logs indicate that it could not find script at this time and update not done. Logs attached. This was correctly done about a week ago and started failing without any changes to NPVR settings.

Thanks for your help

Bill
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#4
2016-02-13, 01:53 PM
BillW Wrote:NPVR was set to update EPG at 7:50 AM on 2-13-16.

nrecord.log has ...

Quote:2016-02-13 07:37:10.662 [DEBUG][10] Requesting wake up for 'EPGWAKEUP-backup' at 2/13/2016 8:50 AM
...
2016-02-13 07:37:10.672 [DEBUG][10] Requesting wake up for 'EPGWAKEUP' at 2/13/2016 8:50 AM
2016-02-13 07:37:10.672 [DEBUG][10] Next EPG update time: 2/13/2016 8:50 AM

Has something gone haywire with timezone or daylight saving or the EPG time in NextPVR settings?

The only "Scripts" message that I could see was to do with the screen saver and I don't think that it's related.
BillW
Offline

Junior Member

Posts: 7
Threads: 1
Joined: Feb 2016
#5
2016-02-13, 03:06 PM
Graham Wrote:nrecord.log has ...



Has something gone haywire with timezone or daylight saving or the EPG time in NextPVR settings?

The only "Scripts" message that I could see was to do with the screen saver and I don't think that it's related.

Mea Culpa. I forgot that the update time had been changed to 8:50 AM. The former logs I sent did not capture the EPG update. New logs are attached. In Nrecord log at 8:51, the EPG sequence starts, but the TVGUIDE file is not rewritten.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#6
2016-02-13, 04:02 PM
BillW Wrote:.. In Nrecord log at 8:51, the EPG sequence starts, but the TVGUIDE file is not rewritten.

For the avoidance of doubt ... Are you saying that this, in nrecord.log ...

Quote:2016-02-13 08:52:40.783 [DEBUG][10] Updating EPG...
2016-02-13 08:52:40.783 [DEBUG][10] Running UpdateEPG.bat
2016-02-13 08:52:40.783 [DEBUG][10] About to run C:\Users\Public\NPVR\Scripts\UpdateEPG.bat
2016-02-13 08:52:45.853 [DEBUG][10] C:\Users\Public\NPVR\Scripts\UpdateEPG.bat has completed
2016-02-13 08:52:45.853 [DEBUG][10] Checking for any XMLTV listings
2016-02-13 08:52:45.869 [DEBUG][10] Will process xmltv file: C:\Multimedia\mc2xml\TVGUIDE.xml
2016-02-13 08:52:45.869 [DEBUG][10] Loading XMLTV from: C:\Multimedia\mc2xml\TVGUIDE.xml
2016-02-13 08:52:45.978 [DEBUG][10] channelEventLists.Count=11
2016-02-13 08:52:45.978 [INFO][10] -channel: 'WYFF-DT' has 235 listings
2016-02-13 08:52:45.978 [INFO][10] -channel: 'WYFF-MC' has 85 listings

... is failing to run the UpdateEPG.bat so that TVGUIDE.xml is not updated with new listings?

What happens when you run the UpdateEPG.bat from a command prompt?
BillW
Offline

Junior Member

Posts: 7
Threads: 1
Joined: Feb 2016
#7
2016-02-13, 05:03 PM
Graham Wrote:For the avoidance of doubt ... Are you saying that this, in nrecord.log ...



... is failing to run the UpdateEPG.bat so that TVGUIDE.xml is not updated with new listings?

What happens when you run the UpdateEPG.bat from a command prompt?

Yes, after the update time the TVGUIDE.xml file is not updated (no file date/time change). When I run Update EPG from NPVR UI under Settings/Channel/Update EPG it changes the file and adds later EPG dates and times. Also, when I run the bat file from command it also updates. From the logs after the automatic update period, it appears to find and execute everything in the correct folders, but the TVGUIDE file does not get written to automatically. No change in file date/time or entries.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#8
2016-02-13, 05:26 PM
From the logs, I can see it is successfully finding your UpdateEPG.bat, and running it.

The problem will be with whatever you've put in your UpdateEPG.bat file. There is two typical causes for this:

1) The user assuming a current certain directory in the batch file. When it's run from recording service, the current directory is different, and it can't find the executable, or the output file is written to a different directory. ie, you need to a "cd" to the path you expect it to run from, or you need to explicitly give full path names (including directory name) for executables and output paths

2) or, you've got the files or out in a path not accessible when running from the recording service (which runs as the "localsystem" account, not your user account).
BillW
Offline

Junior Member

Posts: 7
Threads: 1
Joined: Feb 2016
#9
2016-02-13, 05:48 PM
sub Wrote:From the logs, I can see it is successfully finding your UpdateEPG.bat, and running it.

The problem will be with whatever you've put in your UpdateEPG.bat file. There is two typical causes for this:

1) The user assuming a current certain directory in the batch file. When it's run from recording service, the current directory is different, and it can't find the executable, or the output file is written to a different directory. ie, you need to a "cd" to the path you expect it to run from, or you need to explicitly give full path names (including directory name) for executables and output paths

2) or, you've got the files or out in a path not accessible when running from the recording service (which runs as the "localsystem" account, not your user account).

This is the batch file in the NVR/Scripts folder. As indicated in the logs, it found the correct files.

C:
cd C:\Multimedia\mc2xml
*************mc2xml.exe -d 168 -o TVGUIDE.xml -s -4
zap2xml -u "EMAIL" -p "PASSWORD" -d 8 -o TVGUIDE.xml

As to your second point, I do not believe that the account owner has been changed for a long time if ever. This problem only arose after undating to 3.6.6. Under 3.5.7, it did not occur.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#10
2016-02-13, 08:42 PM
I can see from the log it's running UpdateEPG.bat. As you said your file isn't being xmltv file isn't being updated, so it's whatever you're running in that isn't doing it's thing.

I can't see an obvious reason why those commands in the batch file might be failing, but some other user may have some ideas.
« 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
  HDHomerun recording bizzarely not working Jean0987654321 3 2,103 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  Channels/PIP popups not working 4.2.5 (191014) eastavin 7 2,943 2020-04-20, 03:20 AM
Last Post: eastavin
  Absolute Newbie OTA EPG not working as expected. n8lbv 4 2,684 2020-04-02, 06:03 PM
Last Post: mvallevand
  Live TV not working jresnick 21 10,518 2020-01-04, 06:26 PM
Last Post: BrettB
  Some Channels not working jasonwilliams 7 2,252 2019-08-01, 06:31 PM
Last Post: sub
  NextPVR has Stopped Working rgc101 0 1,153 2019-05-27, 11:24 PM
Last Post: rgc101
  Cancel button not working in web interface antenna 0 999 2019-05-20, 04:45 PM
Last Post: antenna
  Help Pls - Working fine on Server PC but not on other devices furball 14 3,669 2019-05-02, 09:44 AM
Last Post: sub
  Not Working Rickidi 1 1,188 2019-04-11, 05:46 PM
Last Post: sub
  UK EPG stopped working wolvesphil 9 2,855 2019-03-14, 11:08 AM
Last Post: wolvesphil

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

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

Linear Mode
Threaded Mode