NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
1 2 3 4 5 … 102 Next »
EPG Zap2it

 
  • 0 Vote(s) - 0 Average
EPG Zap2it
elstaci
Offline

Member

Posts: 124
Threads: 15
Joined: Jan 2018
#71
2025-04-10, 03:12 PM
NOTE: just read the last reply from another User. Download Strawberry and added the following line command: \strawberry\perl\bin\pp -M Sub::Util -o zap2xml.exe zap2xml.pl

Will try this first and see if it works.
j2gbpvr
Offline

Junior Member

Posts: 35
Threads: 0
Joined: Oct 2009
#72
2025-04-10, 04:21 PM
https://metacpan.org/dist/App-PP-Autolink
https://cpan.metacpan.org/authors/id/S/S....12.tar.gz

https://metacpan.org/dist/rlib
https://cpan.metacpan.org/authors/id/G/G....02.tar.gz
elstaci
Offline

Member

Posts: 124
Threads: 15
Joined: Jan 2018
#73
2025-04-10, 06:14 PM
Thanks.

The other method seemed like it worked in Strawberry but with a warning. Will rescan channels again and see if that helps after using Strawberry portable program.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,083
Threads: 957
Joined: May 2006
#74
2025-04-10, 07:55 PM
(2025-04-10, 06:14 PM)elstaci Wrote: The other method seemed like it worked in Strawberry but with a warning. Will rescan channels again and see if that helps after using Strawberry portable program.

You don't explain which method is "other" or which pl file you changed.  If you downloaded the one from git you need to rescan. If you make your own minimal edits you don't

Martin
elstaci
Offline

Member

Posts: 124
Threads: 15
Joined: Jan 2018
#75
2025-04-10, 08:56 PM (This post was last modified: 2025-04-10, 11:25 PM by elstaci.)
(2025-04-10, 07:55 PM)mvallevand Wrote:
(2025-04-10, 06:14 PM)elstaci Wrote: The other method seemed like it worked in Strawberry but with a warning. Will rescan channels again and see if that helps after using Strawberry portable program.

You don't explain which method is "other" or which pl file you changed.  If you downloaded the one from git you need to rescan. If you make your own minimal edits you don't

Martin

Sorry, I used the method of using the portable Strawberry Perl and then running the command line inside Strawberry itself with both Zap2xm.exe and PL files in the same directory.

From what I am seeing NPVR is only downloading from DVB/ATSC tv and not from the XMLTV TV. 
0
After rescanning and remapping all stations to XMLTV with the correct station and run my original Batch file it shows  EPG Update complete. [ 0 inserted, 0 updated, 18818 skipped]

Than I used the second method with the .TAR files with the same results.

Do I need to change something in my original Batch file commands or is still an issue with the Zap2xml.PL file?

Strange I can' locate my previous installed ActiveState Perl program on my computer. Maybe that is why I am having issues. Let me download Strawberry and install that Perl program and see if everything starts working again.


EDIT: Install Strawberry Perl and ran and the previous command line from previous reply.  Ran the command prompt line inside Strawberry with both Zap2xml files in the same directory.

Ran for a few seconds and seems to have run successfully without any errors.

Cut both zap2xm.exe and zap2xml.pl file plus my Batch File and Batch File.exe (converted .bat file) and it was running normally and populating the EPG.XML file.

But when I go to NVPR Settings and run "Update EPG" the TV Guide isn't populated from the filled EPG.XML nor from the populated "Cache" file in the Scripts folder. 

This is the error I am getting when I click on "Update EPG" from NVPR Settings in Firefox: EPG Update complete. [0 inserted, 0 updated, 0 skipped]

Update: When I run the Batch File it shows downloading a huge amount of TV data to the XML File. Plus I deleted the "Cache" and ran the Batch File and the Cache folder again was filled with TV data. But it doesn't seem be seen by NPVR like before.

I looked at NPVR Config.xml file and it shows correctly the EPG.xml as its source. So I decided to install NVPR again but with the same results. So it seems like some parameter in the Config.XML file changed when I installed Strawberry Perl and updated the .PL file. 

NPVR doesn't see my converted Batch file to .EXE file but now does see just the regular Batch.bat file and runs it successfully from the NVPR scripts folder.  I converted the .BAT file to .EXE file so I can run it with Administration Rights.

So basically everything is running normally except the TV Guide isn't populated from either the Cache or EPG.xml file.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,083
Threads: 957
Joined: May 2006
#76
2025-04-11, 12:56 AM
(2025-04-10, 08:56 PM)elstaci Wrote: Do I need to change something in my original Batch file commands or is still an issue with the Zap2xml.PL file?

You shouldn't change anything other than zap2xml.exe    You should run your batch file outside NextPVR to confirm that it overwrites the old one with a new date.  You can open also open the XMLTV file to see if the channel Id says gracenote (needs mapping) or zap2it.  Finally go to the bottom of the file and see what date shows for the last entry.   Remap again if necessary. 

We are now to the same point I've made for years where zap2xml wasn't worth any effort supporting, since Schedules Direct just works.  I have confirmed zap2xml does work if do the correct steps.

Personally I will take a break and let zap2xml support go back to being user-to-user. 

Martin
elstaci
Offline

Member

Posts: 124
Threads: 15
Joined: Jan 2018
#77
2025-04-11, 03:24 AM
(2025-04-11, 12:56 AM)mvallevand Wrote:
(2025-04-10, 08:56 PM)elstaci Wrote: Do I need to change something in my original Batch file commands or is still an issue with the Zap2xml.PL file?

You shouldn't change anything other than zap2xml.exe    You should run your batch file outside NextPVR to confirm that it overwrites the old one with a new date.  You can open also open the XMLTV file to see if the channel Id says gracenote (needs mapping) or zap2it.  Finally go to the bottom of the file and see what date shows for the last entry.   Remap again if necessary. 

We are now to the same point I've made for years where zap2xml wasn't worth any effort supporting, since Schedules Direct just works.  I have confirmed zap2xml does work if do the correct steps.

Personally I will take a break and let zap2xml support go back to being user-to-user. 

Martin

Martin, after you mentioned about checking to see if I needed to remap. Sure enough my channels weren't properly mapped. So I remapped them again and ran NPVR Settings "Update EPG" and this time it worked. It populated the TV Guide correctly.

This is what was indicating after run the update from settings : EPG Update complete. [22086 inserted, 0 updated, 0 skipped] 

I guess after installing NPVR again it returned the channels back to its default mapping and not the correct mapping.

NOTE: I copy my Batch.bat file outside the NPVR-DATA folder and ran it. It worked fine and created a "Cache" file. I copied this cache file back to the Scripts folder but no success. Only after remapping again did the TV Guide actually got populated with the tv shows.

Thanks for your help and suggestions. 

Take care.
elifino
Offline

Junior Member

Posts: 12
Threads: 3
Joined: May 2013
#78
2025-04-12, 10:44 PM
(2025-04-08, 08:39 PM)Metroid Wrote: I also use mc2xml https://web.archive.org/web/202004260039...pace.info/ They updated their file. They removed zap2it and changed it to gracenote.com. I'll stick to SD for now.

Thank you so much for posting this link.  Perl is a bit beyond my scope.  It's been so long since I set up zap2it that I'd forgotten about mc2xml.  I watch and record from two OTA ZIPs and a couple of IPTV streams.  I now have mc2xml up and running with four EPG xmltv sources.  Thanks again.
Metroid
Offline

Junior Member

US
Posts: 18
Threads: 4
Joined: Jul 2023
#79
2025-04-13, 12:00 AM
You're welcome!
SamM
Offline

Member

United States
Posts: 108
Threads: 28
Joined: Jun 2020
#80
2025-04-13, 02:32 AM (This post was last modified: 2025-04-13, 02:44 AM by SamM.)
(2025-04-10, 07:31 AM)j2gbpvr Wrote: here is how i built the zap2xml.exe with the dependent dlls so it will run on computers without strawberry perl installed

the original zap2xml.pl link is at https://web.archive.org/web/202004260040...pace.info/
change
$urlRoot = 'https://tvlistings.zap2it.com/';
to
$urlRoot = 'https://tvlistings.gracenote.com/';

or use the zap2xml.pl at GitHub if you already remapped your channels to gracenote channel id

install strawberry perl msi version

download App-PP-Autolink-2.12.tar
put App-PP-Autolink-2.12\bin\pp_autolink.pl into C:\Strawberry\perl\bin
copy App-PP-Autolink-2.12\lib\App\PP folder to C:\Strawberry\perl\lib\App\PP

download rlib-0.02.tar
put rlib-0.02\rlib.pm in C:\Strawberry\perl\site\lib

open a command prompt (admin):
and run the command:
C:\strawberry\perl\bin> perl pp_autolink.pl -M Sub::Util -o zap2xml.exe zap2xml.pl
Scanning dependent dynamic libs
Getting dependent DLLs
DLL check iter: 1
DLL check iter: 2
DLL check iter: 3
No alien system dlls detected

Detected link list: c:/strawberry/c/bin/zlib1__.dll c:/strawberry/c/bin/libssl-3-x64__.dll c:/strawberry/c/bin/libcrypto-3-x64__.dll

Detected aliens:

CMD: pp --link c:/strawberry/c/bin/zlib1__.dll --link c:/strawberry/c/bin/libssl-3-x64__.dll --link c:/strawberry/c/bin/libcrypto-3-x64__.dll -o zap2xml.exe zap2xml.pl
C:\strawberry\perl\bin>
then move the zap2xml.exe to your epg folder
this exe will now run on computers without strawberry perl
I ran this instruction, but I'm still getting this in my xml file:
<icon src="https://zap2it.tmsimg.com/h3/NowShowing/21250/s28717_ll_h15_ad.png" /> (in every channel)
I had previously changed all instances of zap2it to gracenote in the pl file, and deleted the line '54.148.50.239 tvlistings.zap2it.com' in the host file.
What am I doing wrong? Shouldn't the xml file now have 'gracenote' rather than 'zap2it'?

I had to remap all the channels one at a time, because I couldn't get automap to work. I am getting the EPG data now, but still don't know why the xml is trying to get icons from zap2it. Any ideas?

Here is the result of running the perl script:
C:\Strawberry\perl\bin>perl pp_autolink.pl -M Sub::Util -o zap2xml.exe zap2xml.pl
Scanning dependent dynamic libs
Getting dependent DLLs
DLL check iter: 1
DLL check iter: 2
DLL check iter: 3
DLL check iter: 4
No alien system dlls detected

Detected link list: c:/strawberry/c/bin/libxpm__.dll c:/strawberry/c/bin/libcrypto-1_1-x64__.dll c:/strawberry/c/bin/libgd-3__.dll c:/strawberry/c/bin/libpng16-16__.dll c:/strawberry/c/bin/libtiff-6__.dll c:/strawberry/c/bin/libjpeg-9__.dll c:/strawberry/c/bin/zlib1__.dll c:/strawberry/c/bin/libssl-1_1-x64__.dll c:/strawberry/c/bin/libiconv-2__.dll c:/strawberry/c/bin/liblzma-5__.dll

Detected aliens:

CMD: pp --link c:/strawberry/c/bin/libxpm__.dll --link c:/strawberry/c/bin/libcrypto-1_1-x64__.dll --link c:/strawberry/c/bin/libgd-3__.dll --link c:/strawberry/c/bin/libpng16-16__.dll --link c:/strawberry/c/bin/libtiff-6__.dll --link c:/strawberry/c/bin/libjpeg-9__.dll --link c:/strawberry/c/bin/zlib1__.dll --link c:/strawberry/c/bin/libssl-1_1-x64__.dll --link c:/strawberry/c/bin/libiconv-2__.dll --link c:/strawberry/c/bin/liblzma-5__.dll -M Sub::Util -o zap2xml.exe zap2xml.pl
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I set up zap2it EPG? thebigz 24 2,896 Today, 01:23 AM
Last Post: mvallevand
  Changing from Zap2it to Schedules Direct 3grg 4 515 2025-04-06, 08:34 PM
Last Post: 3grg
  TV listings "suddenly" missing via zap2it grabber RichU 2 1,490 2022-09-25, 02:34 PM
Last Post: RichU
  epg zap2it MaxOne72 0 593 2021-11-22, 12:45 AM
Last Post: MaxOne72

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

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

Linear Mode
Threaded Mode