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
mattman1968
Offline

Member

Posts: 81
Threads: 20
Joined: Feb 2008
#11
2025-03-29, 01:02 AM (This post was last modified: 2025-03-29, 01:20 AM by mattman1968.)
(2025-03-28, 11:17 PM)Freddo45 Wrote: For me, the Zap2it program still works, since the original site (tvlistings.zap2it.com) is dead. However, there's another site using the same credentials, namely (tvlistings.gracenote.com). Since the Zap2it program is compiled with the address tvlistings.zap2it.com as the target, I modified the Windows HOST file so that it redirects the request to the site tvlistings.gracenote.com (54.148.50.239). And now it works.

So, add to the Host file:

54.148.50.239 tvlistings.zap2it.com

Can someone explain how to modify the windows host file? All I'm finding from searches is it's located at "C:\Windows\System32\drivers\etc" but that doesn't seem to help me. What am I not understanding?

Thanks!


NEVERMIND. Figured it out. Works great!
knosey@hotmail.com
Offline

Junior Member

Canada
Posts: 2
Threads: 1
Joined: Apr 2021
#12
2025-03-29, 11:30 AM
Just want to confirm that the "hosts" trick works perfectly. Thanks a million!
Docker
Offline

Junior Member

USA
Posts: 1
Threads: 0
Joined: Mar 2025
#13
2025-03-29, 02:24 PM
The zap2it website has moved to the following link and still uses the same username/password: https://tvlistings.gracenote.com/grid-affiliates.html

To make the zap2xml.pl file use the gracenote website:
First make a backup copy of the the original zap2xml.pl file before doing the next step.
To fix the original zap2xml.pl file run the following command in the directory of your zap2xml.pl file: sed -i 's/zap2it/gracenote/g' zap2xml.pl
The sed command will replace all the occurrences of the string 'zap2it' with 'gracenote' in the zap2xml.pl file.
Rerun the the zap2xml.pl to generate a new xmltv.xml file with your channel listings from the gracenote website.

This solution comes from Maple over at LibreELEC: https://forum.libreelec.tv/thread/29610-...ps-tvlist/
SamM
Offline

Member

United States
Posts: 108
Threads: 28
Joined: Jun 2020
#14
2025-03-29, 08:40 PM (This post was last modified: 2025-03-29, 08:42 PM by SamM.)
(2025-03-28, 11:17 PM)Freddo45 Wrote: For me, the Zap2it program still works, since the original site (tvlistings.zap2it.com) is dead. However, there's another site using the same credentials, namely (tvlistings.gracenote.com). Since the Zap2it program is compiled with the address tvlistings.zap2it.com as the target, I modified the Windows HOST file so that it redirects the request to the site tvlistings.gracenote.com (54.148.50.239). And now it works.

So, add to the Host file:

54.148.50.239 tvlistings.zap2it.com

It works, but doesn't end well. It yields this error before ending:

[3] Getting: https://tvlistings.zap2it.com/api/grid?t...rride=true
[Attempt 1] 112:400 Bad Request
["message":"No lineups are available for this ZIP or postal code. Please enter a different ZIP or postal code."}

Can anyone help me find out what the problem is? I live in Houston area, and get Hou OTA channels, and zip code is 77388, and it always worked in the past without this error, I think. My bat file does this:
zap2xml -d 17 -F -j -D -I -u email@yahoo.com -p password

The data ends up in xmltv.xml
I also noticed that tvlistings.zap2it.com is back in action. Am I going to the wrong url? Was it relocated to 54.148.50.239 and is the reason why it's not redirecting to gracenote? The url I see is https://tvlistings.zap2it.com/?aid=gapzap#
Should I be disregarding this error?
I would appreciate any help.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,083
Threads: 957
Joined: May 2006
#15
2025-03-29, 08:45 PM (This post was last modified: 2025-03-29, 09:21 PM by mvallevand.)
Once you change the DNS you can't get the official zap2it.com site from the browser. You also risk failure since the site can resolve more than on IP from Amazon. Here mine is 54.148.50.239 today to but ...

Changing the pl file is probably safer.

The 400 error is because of the time=value on your URL. Maybe try reducing -d 17 to -d 15 (or lower)

Martin
Metroid
Offline

Junior Member

US
Posts: 18
Threads: 4
Joined: Jul 2023
#16
2025-03-29, 10:07 PM
I think zap2it website is back.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,083
Threads: 957
Joined: May 2006
#17
2025-03-29, 10:08 PM
Nope, like I said one you change the DNS you can't get to it by the name.

Martin
JohnySmith1010
Offline

Junior Member

US
Posts: 19
Threads: 3
Joined: Jan 2024
#18
2025-03-30, 12:08 AM
Doesn't zap2it have a commandline to use tvguide.com instead? I think it is the -z switch.
SamM
Offline

Member

United States
Posts: 108
Threads: 28
Joined: Jun 2020
#19
2025-03-30, 04:31 AM (This post was last modified: 2025-03-30, 04:38 AM by SamM.)
(2025-03-29, 08:45 PM)mvallevand Wrote: Once you change the DNS you can't get the official zap2it.com site from the browser.  You also risk failure since the site can resolve more than on IP from Amazon.  Here mine is 54.148.50.239 today to but ...

Changing the pl file is probably safer.

The 400 error is because of the time=value on your URL.  Maybe try reducing  -d 17 to -d 15 (or lower)

Martin

Tks for your advice, I'll experiment with # of days.
fla
Offline

Posting Freak

Posts: 884
Threads: 46
Joined: Mar 2006
#20
2025-03-30, 04:31 AM (This post was last modified: 2025-03-30, 10:45 PM by fla.)
I've always built my own exe with strawberry perl using the following command:

Code:
pp -M Sub::Util -o zap2xml.exe zap2xml.pl
If someone wants it here's the updated patch that avoids incorrectly changing one line as explained in posts 29-33 below.


Attached Files
.zip   gracenote.zip (Size: 562 bytes / Downloads: 79)
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (12): « Previous 1 2 3 4 5 … 12 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I set up zap2it EPG? thebigz 24 2,897 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