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
1 2 3 4 5 … 433 Next »
NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml

NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml
Chas0967
Offline

Junior Member

Posts: 7
Threads: 1
Joined: Jan 2018
#81
2018-01-07, 07:37 AM
Zap2it.com changed it's website completely this week (what a mess). so if you used Zap2it as the link for your epg guide it will not connect to the site. if you go to http://zap2xml.awardspace.info/ for help to change to TV Guide it does work. i had to do it and it's working. you will need to create an account with TV Guide and favorite the channels that you use.
You will need to edit "UpdateEPG.bat" with -z and change the user name and password. save and right click it to run, and see if it workings the guide, you may have to to play with it to get it right.
Also, you will need to go back into NextPVR, settings, and change all XMLTV Channels in the bulk setting with the updated/changed linked channels.
phil0909
Offline

Member

Posts: 52
Threads: 6
Joined: Jan 2009
#82
2018-01-07, 07:43 AM
Yes, thank you, fla. The error capture definitely seems more helpful. Using your DOS, I'm getting results like this now:

Deleting old cached file: cache/1514966400000.html.gz
Failed to delete 'cache/1514966400000.html.gz': Permission denied at script/zap2xml.pl line 366.
:
Getting: http://mobilelistings.tvguide.com/Listin...ration/180
Failed to open 'cache/1515301200000.js.gz': Permission denied at script/zap2xml.pl line 889.

So, I'm thinking Martin is right about it being a permissions problem. I've tried giving permission to everyone (including BATCH and SERVICE) for full control of that cache directory and everything in it, but still get the same permission errors. Probably there's an easy fix if you know what you're doing, but I can't yet find it in any of the forums here.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#83
2018-01-07, 02:04 PM
phil0909 Wrote:I've tried giving permission to everyone (including BATCH and SERVICE) for full control of that cache directory and everything in it, but still get the same permission errors.
The NextPVR Recording Service (and any batch files that it calls) run in the System user account.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,044
Threads: 957
Joined: May 2006
#84
2018-01-07, 03:56 PM (This post was last modified: 2018-01-07, 04:24 PM by mvallevand.)
Graham Wrote:The NextPVR Recording Service (and any batch files that it calls) run in the System user account.

That is the start of the problem since no one seems to search it out. Changing the service to run as the user who installed zap2xml will probably solve the problem. Alternatively from what I gather you can also install ActivePerl and the modules required globally instead of userspace and point the -C command line option the the correct config file

Martin
fla
Offline

Posting Freak

Posts: 884
Threads: 46
Joined: Mar 2006
#85
2018-01-07, 04:05 PM
Just delete the entire cache directory itself and when the recording service runs zap2xml.exe it will get recreated and repopulated with appropriate permissions.
phil0909
Offline

Member

Posts: 52
Threads: 6
Joined: Jan 2009
#86
2018-01-07, 06:14 PM
Graham - Thanks, I see that. SYSTEM also has full permissions for the entire Scripts directory and contents. The batch epg update still fails to run from inside npvr, still due to lack of permissions.
fla - Thanks, that makes sense, but did not work for me. Even though I deleted the cache directory, emptied it in NPVR, rebooted, zap2xml STILL won't run from inside NPVR. I get the same error messages about deleting files in the cache directory and permission denied. I don't know why its trying to delete files that no longer exist in a directory that no longer exists.
Martin - thanks, that als makes sense, but does not work for me. I changed the service to run as the user/Administrator who installed zap2xml. Windows accepts the change in ID and password, but when I then try to restart the npvr recording service, Windows says it can't start due to a logon failure.
Either I am the stupidest person in the world, or Windows security has become a maddening nightmare. Or maybe both...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,765
Threads: 769
Joined: Nov 2003
#87
2018-01-07, 06:28 PM
Quote:Deleting old cached file: cache/1514966400000.html.gz
Note this is a relative path, so when run from the recording service, it might have a current path of c:\windows\system32, so trying to delete c:\windows\system32\cache\1514966400000.html.gz etc.

Maybe try putting a "CD ........" command at the start of your batch file, to explicitly change to the directory where you want zap2xml.exe to run from, so that it's looking for the 'cache' subdirectory in the right place.
phil0909
Offline

Member

Posts: 52
Threads: 6
Joined: Jan 2009
#88
2018-01-07, 06:30 PM
Hello sub - Is there a problem with the donations link at the top of the page? PayPal tells me it is not able to complete the transaction at this time. I am outside New Zealand. Thanks,
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,765
Threads: 769
Joined: Nov 2003
#89
2018-01-07, 06:34 PM
phil0909 Wrote:Hello sub - Is there a problem with the donations link at the top of the page? PayPal tells me it is not able to complete the transaction at this time. I am outside New Zealand. Thanks,
I don't think so. I did get a donation yesterday. Clicking the link now, I do get at least as far as a paypal page.

Maybe you tried Paypal was having an outage?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,765
Threads: 769
Joined: Nov 2003
#90
2018-01-07, 06:38 PM
Looking on http://zap2xml.awardspace.info, a couple of command line parameters that stand out to me are:

Quote:-c <cacheDirectory> (default = "cache")
-C <configuration file> (default = "~/.zap2xmlrc")
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (13): « Previous 1 … 7 8 9 10 11 … 13 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR VOD through Kodi unmich 2 1,295 2023-06-18, 03:54 AM
Last Post: sub
  uray encoder setup with ir change 105 3 1,391 2023-03-20, 12:30 PM
Last Post: mvallevand
  zap2it import tv logo MaxOne72 2 1,485 2021-11-14, 05:56 PM
Last Post: sub
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,190 2021-09-25, 02:25 AM
Last Post: madbrain
Photo How to setup Multidec with HDHomeRun HDHR4-2DT spin35 7 2,538 2021-09-18, 02:12 AM
Last Post: sub
  NextPVR and Remote viewing MaxiBelas 2 1,705 2021-09-07, 05:29 PM
Last Post: sub
  Help with NextPVR evinahmad86 1 1,452 2021-07-23, 07:01 PM
Last Post: sub
  ZAP2XML no longer loading TV Guide Schedule skoonz_sr@hotmail.com 33 20,907 2021-03-27, 06:45 AM
Last Post: Jean0987654321
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 1,595 2021-03-05, 01:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,956 2021-02-03, 01:29 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