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 … 35 36 37 38 39 … 433 Next »
EPG Not Updating

EPG Not Updating
elstaci
Offline

Member

Posts: 124
Threads: 15
Joined: Jan 2018
#11
2018-10-28, 03:09 AM
sub Wrote:I'm sure NextPVR will be running your UpdateEPG.bat, but you're having issues with whatever you're trying to run within your batch file.

When some users have had problems like this, to diagnose what is happening, they've edited their UpdateEPG.bat to pipe the standard-out/standard-error from the commands they're running, to some text file, so they can see check the output. This way they can see if some file isn't found, or some permission problem etc. Likely some issue with whatever grabber you're running, or it's data files etc.

If my BAT file was corrupted or coded improperly then why does it work when I run it in a elevated Command Prompt and updates the XMLTV File in the Scripts folder?

Anyways, here is my BAT file. I removed the login info. Can you show me how to add code to troubleshoot the BAT File? This is the same BAT file I have been using since Zap2it updated its Zap2Xml.exe file.

C:\Users\Public\NPVR\Scripts\zap2xml.exe -o C:\Users\Public\NPVR\Scripts\epg.xml -u sxxxxx@bxxxxxxx.xxx -p xxxxxxxxxx -d 14 -r 14 -a -D -A "new live" -E "amp apos quot lt gt" –F

By the way, this is almost a clone from NPVR Forum on how to code the BAT File. I just needed to add a couple of /switches to make it populate NPVR TV Guide with the new Zap2XML.exe grabber.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#12
2018-10-28, 06:40 AM
elstaci Wrote:If my BAT file was corrupted or coded improperly then why does it work when I run it in a elevated Command Prompt and updates the XMLTV File in the Scripts folder?
I'm just saying NextPVR is living up to it's end of the bargain and running the batch file, but whatever you're doing inside the batch file is not working correctly. It's likely something about your commands that don't like running as a different user account or similar. I personally have never used zap2xml.exe, so can't give you any specific info on that. It's probably something like where zap2xml.exe it stores it's data files etc, or as Martin said - it might use Perl, which might depend on things only installed in a certain user's account.

Quote:Can you show me how to add code to troubleshoot the BAT File?
In general, adding "> c:\temp\log.txt 2>&1" to the end of that command should log the output when the batch file runs.
elstaci
Offline

Member

Posts: 124
Threads: 15
Joined: Jan 2018
#13
2018-10-28, 12:08 PM
Thanks for the code to see what is happening to my BAT file when it runs. I added it to my BAT file.

Zap2XML.exe creates a XMLTV file in the same Scripts directory and creates a Folder called Cache, in the same Scripts Folder, that stores all the data (TV shows) from the XMLTV file.

I also downloaded the Full Pearl software (ActivePearl v5.26) and installed it. When I run the command to be sure all the applicable Pearl files are installed it comes back saying all files are installed.

I have the Batch file to download 14 days of programs, if there aren't 14 days of programs to download would that cause the problems?

I understand what you are saying. But my batch file was working correctly until AFTER I updated Windows to the new version 1809. Logically it seems like Windows changed something that NPVR is not updating my batch file correctly now.

The point I am trying to make is if the batch file was running without any problems before upgrading and now I have problems after upgrading with the same exact Batch file, then what changed? Before the upgrade, NPVR read my batch file correctly and updated my TV Guide. Now you are saying that NPVR is running correctly but now it is not reading my batch file correctly.

So, as you mentioned, either Windows changed some permissions or file locations or my Windows is corrupt or you need to update NPVR to be more compatible with the new Windows version.

As soon as Microsoft makes available again the "Fixed" Windows upgrade, I will be doing another ingrade update on my computer and see if it fixes NPVR and one or two other issues I am having.

Thanks for your input. I am not trying to be argumentative but trying to understand or narrow down the reason why NPVR is not updating the TV listings any more and was before without any changes to the program.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#14
2018-10-28, 01:09 PM
sub Wrote:In general, adding "> c:\temp\log.txt 2>&1" to the end of that command should log the output when the batch file runs.

To add to Sub's comment ... http://www.robvanderwoude.com/battech_redirection.php
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#15
2018-10-28, 03:27 PM
elstaci Wrote:or you need to update NPVR to be more compatible with the new Windows version.
I don't think it's anything to do with NextPVR, and isn't anything I should be changing in the application. I'm sure NextPVR be running your batch file. Yes, it may have been something in the Windows update that has broken one of the commands in your batch file.

Try collecting the output from zap2xml.exe - it'll probably tell you what is happening.
Orv
Offline

Junior Member

Posts: 9
Threads: 1
Joined: May 2018
#16
2018-11-02, 11:01 PM
Have you tried putting the following as the first line in your batch file? Also 14 days is a lot, no?

cd /d C:\Users\Public\NPVR\Scripts
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#17
2018-11-02, 11:43 PM
Orv Wrote:Have you tried putting the following as the first line in your batch file? Also 14 days is a lot, no?

cd /d C:\Users\Public\NPVR\Scripts

There is no general reason for using that line.

Martin
Orv
Offline

Junior Member

Posts: 9
Threads: 1
Joined: May 2018
#18
2018-11-03, 01:41 AM
Martin's right, I misread or totally disregarded the previous solutions.

-orv
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#19
2018-11-03, 09:42 AM
Orv Wrote:Martin's right ...

Always is ... annoyingly.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#20
2018-11-03, 04:32 PM
If I was right then users would just use schedules direct and then all these unnecessary problems would go away. That being said zap2xml needs a lot of tweaking sub pointed some values here https://forums.nextpvr.com/showthread.ph...post520188 and on top of that most Windows users don't even understand how to run perl scripts so there is a deep learning curve.

Martin
« 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
  EPG not updating (DVB ATSC EPG) Flyndr 3 2,962 2020-04-29, 10:42 AM
Last Post: Graham
  not all IPTV channels updating EPG Brucek2839 1 1,796 2019-08-28, 01:34 AM
Last Post: sub
  Freesat EPG not updating since the 5th of Aug 2019 softfoot 12 4,276 2019-08-17, 02:47 AM
Last Post: softfoot
  IPTV daily cleaning and updating channels possibility? jhr1948 0 1,579 2019-08-10, 01:25 PM
Last Post: jhr1948
  Recording service not updating correctly Flyndr 11 3,540 2019-04-10, 08:01 AM
Last Post: Flyndr
  EPG not updating bruno1914 1 1,447 2019-03-18, 03:47 PM
Last Post: sub
  EPG not auto updating Flyndr 7 2,601 2019-03-14, 02:27 AM
Last Post: Flyndr
  EPG Not Updating LeoL 17 7,694 2018-10-01, 11:15 AM
Last Post: jcjefferies
  Bulk updating EPG from Schedules Direct to DVB returns 'None' syssjr 2 1,400 2018-06-18, 04:17 PM
Last Post: syssjr
  Error on Updating to Ver. 4.1.1 (180410) Cfldjamie 2 1,310 2018-04-14, 09:48 PM
Last Post: Graham

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

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

Linear Mode
Threaded Mode