2017-02-11, 11:50 PM
sub Wrote:What is failing exactly? Is zap2xml failing to download and make the xmltv file, or is NextPVR failing to load the listings from your file? If it's the former, you'll probably need to capture the output of zap2xml in the batch file, so you can see what errors it lists.
It appears that zap2xml fails to run succesfully, and the xml file does not update, when zap2xml run automatically by NextPVR using the scheduled epg update function. The same zap2xml batch file and exe file do run successfully and produce a new epg.xml file in the NextPVR Scripts directory when I run the batch file directly from Windows Explorer, or when I manually run them from inside NextPVR (Settings - Channels - Update EPG).
I am having some difficulty testing the scheduled epg update function, because I don't know how frequently NextPVR checks for a scheduled update time. In testing this issue, I have scheduled updates for 5 minutes in the future and seen the batch file run successfully, and I've scheduled updates for 30+ minutes in the future and it seems like NPVR did not even try to run the epg update. Normally, of course, I just have the update scheduled once a day in the early AM, but for testing I have tried a bunch of different update times.