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

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

Junior Member

USA
Posts: 1
Threads: 0
Joined: Jul 2025
#141
2025-07-20, 06:02 AM
(2025-07-19, 04:17 AM)jesmannstl Wrote: Try orbebb in place of lat or gapzap that one is found to still work

It does not work for me. It only gives about 20ish channels even though I logged into the new site ( https://tvlistings.gracenote.com/grid-af...aid=orbebb ) and "starred" about 150ish channels.
j2gbpvr
Offline

Junior Member

Posts: 46
Threads: 0
Joined: Oct 2009
#142
2025-07-20, 04:13 PM (This post was last modified: 2025-07-20, 04:15 PM by j2gbpvr.)
i think it's working if it gives you any channels
i have 11 channels and it gives me 14 days
getting more than 20 channels is a different problem
that may be their limit
gearsofwoe
Offline

Junior Member

Canada
Posts: 10
Threads: 2
Joined: Dec 2020
#143
2025-07-24, 12:26 AM
Thanks to all the forum members for their help.  This is a summary of the steps I take to upgrade my copy of the zap2it.pl Perl script and to create an executable file.

1) MODIFY zap2xml.pl PERL SCRIP

The original zap2xml.pl Perl script is at:
https://web.archive.org/web/202004260040...pace.info/

Search and replace:
gapzap (or lat)
with:
orbebb
in:
$params .= '&TMSID=&AffiliateID=orbebb&FromPage=TV%20Grid';
$phash{aid} = 'orbebb';

Change:
$ua->agent('Mozilla/4.0');
to:
$ua->agent('Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0');

To correct for changes to how AWS handles requests

Change:
$urlRoot = 'https://tvlistings.zap2it.com/';
to:
$urlRoot = 'https://tvlistings.gracenote.com/';

Do not replace "zap2it" in the [sub stationToChannel] subroutine in order to keep the existing zap2it channel mappings.


2) INSTALL STRAWBERRY PERL DEVELOPMENT ENVIRONMENT

Download Strawberry Perl MSI version
https://strawberryperl.com/

Install Strawberry Perl MSI at
C:\

Copy the new zap2it.pl script to
C:\Strawberry\perl\bin

download App-PP-Autolink-2.12.tar
https://metacpan.org/dist/App-PP-Autolink
https://cpan.metacpan.org/authors/id/S/S....12.tar.gz

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
https://metacpan.org/dist/rlib
https://cpan.metacpan.org/authors/id/G/G....02.tar.gz

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


3) COMPILE zap2it EXECUTABLE

Open the PDL console:
C:\Strawberry\portableshell.bat
         
          ----------------------------------------------
          Welcome to Strawberry Perl PDL Edition!
          * URL - https://strawberryperl.com + http://pdl.perl.org
          * to launch perl script run:      perl c:\my\scripts\pdl-test.pl
          * to start PDL console run:      pdl2
          * to update PDL run:              cpanm PDL
          * to install extra module run:    cpanm PDL::Any::Module
                    or if previous fails:    ppm PDL::Any::Module
          * or you can use dev tools like:  gcc, g++, gfortran, gmake
          * see README.TXT for more info
          ----------------------------------------------
          Perl executable: C:\Strawberry\perl\bin\perl.exe
          Perl version  : v5.40.0 / MSWin32-x64-multi-thread
          PDL version    : 2.089

C:\Strawberry> CD C:\strawberry\perl\bin\

C:\Strawberry\perl\bin> PERL pp_autolink.pl -M Sub::Util -o zap2xml.exe zap2xml.pl

          Scanning dependent dynamic libs
          Getting dependent DLLs
          # Use of runtime loader module Module::Runtime detected.  Results of static scanning may be incomplete.
          DLL check iter: 1
          DLL check iter: 2
          DLL check iter: 3

          Unable to locate these DLLS, packed script might not work: api-ms-win-crt-convert-l1-1-0.dll api-ms-win-crt-environment-l1-1-0.dll api-ms-win-crt-filesystem-l1-1-0.dll api-ms-win-crt-heap-l1-1-0.dll api-ms-win-crt-locale-l1-1-0.dll  api-ms-win-crt-math-l1-1-0.dll api-ms-win-crt-private-l1-1-0.dll api-ms-win-crt-runtime-l1-1-0.dll api-ms-win-crt-stdio-l1-1-0.dll api-ms-win-crt-string-l1-1-0.dll api-ms-win-crt-time-l1-1-0.dll api-ms-win-crt-utility-l1-1-0.dll

          No alien system dlls detected

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

          Detected aliens:

          CMD: pp --link c:/strawberry/c/bin/libssl-3-x64__.dll --link c:/strawberry/c/bin/libcrypto-3-x64__.dll --link c:/strawberry/c/bin/zlib1__.dll -M Sub::Util -o zap2xml.exe zap2xml.pl
          # Use of runtime loader module Module::Runtime detected.  Results of static scanning may be incomplete.

C:\Strawberry\perl\bin> EXIT

Copy the generated zap2xml.exe to your EPG folder.
zap2xml.exe will now run on computers without Strawberry perl
stakd
Offline

Junior Member

USA (OH)
Posts: 1
Threads: 0
Joined: Jul 2025
#144
2025-07-24, 01:56 AM
Thanks for the instructions gearsofwe! While I have never done anything with perl before, I was able to easily follow those and resolve the nagging issue of my zip code not containing any data.

That said, the initial instructions did not work with the MSI version (I was missing the portableshell.bat file), so I installed the PDL version.

I then got the following output/error:
Scanning dependent dynamic libs
Getting dependent DLLs
# Use of runtime loader module Module::Runtime detected. Results of static scanning may be incomplete.
either cannot find or cannot read C:/Strawberry/perl/lib/auto/Socket/Socket.xs.dll for package Socket.pm at pp_autolink.pl line 16.

That Socket/ folder was completely empty so I grabbed the socket.xs.dll off an older ZIP version on the strawberry perl website and threw it in that folder. After another few errors were thrown, I turned off the real time virus and threat protection in Windows and it worked. My guide is now downloading!
j2gbpvr
Offline

Junior Member

Posts: 46
Threads: 0
Joined: Oct 2009
#145
2025-07-24, 02:47 AM (This post was last modified: 2025-07-24, 01:27 PM by j2gbpvr.)
the missing Socket.xs.dll file occurs when the newer version of strawberry perl came out 5.40.2.1 after 5.40.0.1
which used to work when maually installing pp_autolink and rlib.pm
it was included in the older version of perl but was left out in the newer version
it's not needed when installing pp_autolink now

the easier way to install pp_autolink and rlib.pm is with the cpanm command
cpanm App::PP::Autolink
it will download and install both pp_autolink and rlib.pm in the site/bin folder
C:\Strawberry\perl\site\bin
if the pp_autolink was installed manually, then you have to delete those first
both pp_autolink.pl and the PP folder

then put the zap2xml.pl file in that folder
cd C:\Strawberry\perl\site\bin
then run the perl pp_autolink.pl -M Sub::Util -o zap2xml.exe zap2xml.pl
command from that folder using the command prompt (admin)

i also had to do the following in:
windows security
virus & threat protection
virus & threat protection settings
manage settings
exclusions
add or remove exclusions
+ add an exclusions
c:\strawberry
and the epg folder
d:\epg
elstaci
Offline

Member

Posts: 128
Threads: 15
Joined: Jan 2018
#146
2025-07-31, 11:28 PM (This post was last modified: 2025-08-01, 03:36 AM by elstaci.)
Deleted my first original reply since Grace TV website is up and running but using a different link.


EDIT: Open a Bug report at Github -Zap2xml and Mr Ferrell replied that Grace TV is up and uploaded a working GRACE TV link:

Gracenote has not gone down. It is still working just fine. See: https://tvlistings.gracenote.com/grid-af...tribnyc2dl
If you want to keep using the PERL script, just use the one here: https://github.com/jef/zap2xml/tree/historical-perl


So I am going to try and use Strawberry Perl again to recode Zap2xml file with the modified Zap2xml.pl file link from above. 

I replied back to Mr. Ferrell with the current link I am using from Grace TV that is disabled. What is weird is that when I input TVlistings.gracenote.com it still came up with an error.
elstaci
Offline

Member

Posts: 128
Threads: 15
Joined: Jan 2018
#147
2025-08-01, 03:28 AM (This post was last modified: 2025-08-01, 03:35 AM by elstaci.)
Okay download the Zap2xml.pl file from the Github's link from Mr. Ferrell.

Copied Zap2xml.exe and Zap2xml.pl to the Strawberry folder and ran the previous mentioned command Perl line to have zap2xml recognize the new Pl file. Ran it and no errors popped up.

Copied both files to NPVR Data/Scripts folder.

Then went to NPVR Webpage and deleted all channels on all of my tuners and scanned again for all TV channels.

Then went to "Channels" to remapped all the channels to XMLTV format but when I click to select XMLTV under "Mapping" nothing show up.  No channels to be able to map to.

But after running the EPG update batch file it seems like all my channels are populated unlike before when only a few DVB/ATSC Channels would be populated while using XMLTV all the channels were populated.

So I am, for now, forced to use DVB/ATSC Channels to get my TV Guide populated again.

Not sure what I am doing wrong or what step I left out.


Attached Files Thumbnail(s)
   
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,398
Threads: 963
Joined: May 2006
#148
2025-08-01, 12:03 PM
You missed reading the information saying you are supposed to upload zipped logs. Is it possible the file is empty and you simply didn't compile zap2xml.exe correctly.

Martin
elstaci
Offline

Member

Posts: 128
Threads: 15
Joined: Jan 2018
#149
2025-08-01, 01:45 PM (This post was last modified: 2025-08-01, 02:25 PM by elstaci.)
Seems like Mr. Ferrell directed me to the old PL file with Zap2it instead of Grace TV.

Went back to Github and found a newer version of PL and after running the batch file its seems to be working normally again as before after running the Perl command line again.

I will now to try and again change from DVB/ATSC to XLMTV format on NPVR Website settings.

Finally, I was able to map out all the channels to XLMTV format.

What I don't understand is why my TVLISTING.GRACENOTE.com link, that was working great before,  came up to a disabled website. Even after deleting everything after tvlistings.gracenote.com it always came up with an error message.

Yet the link that Mr. Ferrell of Github provided goes to a working link to TVLISTINGS.GRACENOTE.COM.


Attached Files Thumbnail(s)
   
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (15): « Previous 1 … 11 12 13 14 15
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I set up zap2it EPG? thebigz 24 4,447 2025-06-29, 01:23 AM
Last Post: mvallevand
  Changing from Zap2it to Schedules Direct 3grg 4 731 2025-04-06, 08:34 PM
Last Post: 3grg
  TV listings "suddenly" missing via zap2it grabber RichU 2 1,669 2022-09-25, 02:34 PM
Last Post: RichU
  epg zap2it MaxOne72 0 710 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