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
#11
2016-02-13, 08:49 PM
sub Wrote: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.

As I mentioned above, when I go to Settings/Channels/Update EPG it works. Is that approach also using the Recording Service like automatic updates?

The problem is either that TVGUIDE is not being rewritten or not saved.

Thanks for your help and patience.

Bill
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#12
2016-02-13, 08:59 PM
BillW Wrote:As I mentioned above, when I go to Settings/Channels/Update EPG it works. Is that approach also using the Recording Service like automatic updates?
It's the exact same code run, but there is two differences to be aware of:
1) it runs as 'localsystem' account, instead of your regular user account (which is where file/directory permissions have tripped up some users before)
2) it starts with default startup directory, like c:\windows\system32, which is why you need to be careful to use explicit paths etc.

Quote:The problem is either that TVGUIDE is not being rewritten or not saved.
Sure, but it's not NextPVR that writes to that file. All NextPVR does is run your UpdateEPG.bat, and you take of the rest. In this case, zap2xml.exe doesn't seem to writing to the file for some reason, like it doesn't have permissions to that directory or something, or cant overwrite TVGUIDE.xml because of it's permissions.
BrettB
Online

Posting Freak

Saint Paul, MN, USA
Posts: 2,668
Threads: 170
Joined: Jun 2007
#13
2016-02-14, 01:04 AM
sub Wrote:Sure, but it's not NextPVR that writes to that file. All NextPVR does is run your UpdateEPG.bat, and you take of the rest. In this case, zap2xml.exe doesn't seem to writing to the file for some reason, like it doesn't have permissions to that directory or something, or cant overwrite TVGUIDE.xml because of it's permissions.

Stab in the dark here: Maybe a firewall or UAC problem because of the difference in Windows user account???
BrettB
Online

Posting Freak

Saint Paul, MN, USA
Posts: 2,668
Threads: 170
Joined: Jun 2007
#14
2016-02-14, 01:14 AM
BillW Wrote: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

From the log file, it looks like it took about 5 minutes for the batch file to complete. So it doesn't appear that the zap2xml command (or something else) is just failing immediately. You don't specify the path on the output file ("-o TVGUIDE.xml"), so I would think that it should be in the C:\Multimedia\mc2xml directory. You might try adding output redirection to a file for the zap2xml command (" > zap2xml.log" or similar) and see if zap2xml is getting some error when it tries to actually write the file.
Handy.Man
Offline

Senior Member

Montréal, Québec, Canada
Posts: 423
Threads: 41
Joined: Oct 2012
#15
2016-02-14, 02:04 AM
Here is an example

Code:
cd /d "C:\Users\Public\NPVR\EPG"
.\zap2xml.exe -u Some1@somewhere.com -p some1password -S 1 -D -I -d 14 -n 2 -i "icons" -l "en" -e -o zapit.xml 1> UpdateEPG.log 2>&1

This will create C:\Users\Public\NPVR\EPG\UpdateEPG.log when it start and append standard output as well as standard error to the log.
Server : NextPVR 4.2.3 Intel Core2 Quad Q6600 @2.4GHz 8GB Win7Pro, Hauppauge HVR-2250 Dual Tuner, DIAMOND ATI Theater HD 750 USB TV Tuner, Homemade fractal antenna, SchedulesDirect EPG.
Client : NextPVR 4.2.3 Intel I7-2600K @4.5GHz 8GB, Radeon HD6800, Win7Pro
BillW
Offline

Junior Member

Posts: 7
Threads: 1
Joined: Feb 2016
#16
2016-02-17, 02:36 PM
I had been out of town for 3 days. When I returned I found that the update was being performed successfully and has repeated on the following day. Although I had not made any changes, I guess the problem fixed itself. Thanks for the help.
« 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
  HDHomerun recording bizzarely not working Jean0987654321 3 2,098 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  Channels/PIP popups not working 4.2.5 (191014) eastavin 7 2,938 2020-04-20, 03:20 AM
Last Post: eastavin
  Absolute Newbie OTA EPG not working as expected. n8lbv 4 2,680 2020-04-02, 06:03 PM
Last Post: mvallevand
  Live TV not working jresnick 21 10,499 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,152 2019-05-27, 11:24 PM
Last Post: rgc101
  Cancel button not working in web interface antenna 0 998 2019-05-20, 04:45 PM
Last Post: antenna
  Help Pls - Working fine on Server PC but not on other devices furball 14 3,667 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,853 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