[Bug]: No lineups are available for this ZIP or postal code. Please enter a different ZIP or postal code.
What happened?
No change to my system, but I've started getting this in the log
No lineups are available for this ZIP or postal code. Please enter a different ZIP or postal code.
and the channel lineup / show schedule is no longer being downloaded
Relevant log output
I'm getting a slightly different error when running the npm version but it also has the 504 gateway error.
node dist/index.js --lineupId=USA-OTA85208 --timespan=350 --country=USA --postalCode=85208 Fetching TV listings Error fetching GridApiResponse: Error: Failed to fetch: 504 Gateway Timeout at file:///C:/zap2xml/dist/index.js:103:23 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Promise.all (index 28) at async getTVListings (file:///C:/zap2xml/dist/index.js:122:5) at async main (file:///C:/zap2xml/dist/index.js:263:22)
The PERL script is still functional though.
In the discussion the 503 was mentioned apparently it's happening on timespan more than 72 hours
I updated my fork to a different aid and working up to 360 again. Plus it has category if not movie, episode numbers, new, live and previously shown tags, corrected episode numbering.
I updated my fork to a different aid and working up to 360 again. Plus it has category if not movie, episode numbers, new, live and previously shown tags, corrected episode numbering.
Thanks!
I'm not sure what the solution above has to do with the original problem reported here?
Regardless, I looked at the change that was made in the other github repository and it seems as if the aid was changed to 'chi'.
Honestly, I know nothing more about why this was done, but I found the aid parameter in the code in this repository and changed it on my system from the original value I was using ('gapzap') to 'chi' but it didn't help, I am still getting the invalid postal code message in my log.
I just ran mine successfully a few minutes ago. Is the zip code andi lineup correct. I have made 10 updates to this fork the latest was the aid. I've sent a pull request to be added to the original. Other fixes include adding categories if available to non movies or a generic Series category if none which helps some programs like Jellyfin Mark programs as series. Also adds New, Live, Premier and previously shown tags properly. Added more options to season and episode numbering to support more programs properly.
u/jesmannstl
Thank you!!!
I ended up cloning your jesmannstl/zap2it code instead of the code at jef/zap2it
and with this change, and some additional changes recommended by github copilot (as seen here: https://github.com/jesmannstl/zap2xml/compare/main...roblatour:zap2xml:main )
I was able to get it to work again.
Thanks for your help.
I will leave this issue open until the owner of this repository has time to look at it and correct for it and/or close it themselves.
I'm not sure what the solution above has to do with the original problem reported here?
Regardless, I looked at the change that was made in the other github repository and it seems as if the aid was changed to 'chi'.
Honestly, I know nothing more about why this was done, but I found the aid parameter in the code in this repository and changed it on my system from the original value I was using ('gapzap') to 'chi' but it didn't help, I am still getting the invalid postal code message in my log.
The aid=gapzap was in reference to an affiliate link. Zap2it was using that affiliate link. When zap2it dissappeared, so did gapzap. Chi is another affiliate link. Therefore aid=chi. There are a few more affiliates out there using different affiliate links. I have been searching these out and keeping a personal record of them.
--lineupId is not required for OTA but I ran your command with my fork just fine: F:\Tools\dispatcharr_data\zap2xml> node dist/index.js --lineupId=USA-OTA85208 --timespan=350 --country=USA --postalCode=85208 Building XMLTV file
--lineupId is not required for OTA but I ran your command with my fork just fine: F:\Tools\dispatcharr_data\zap2xml> node dist/index.js --lineupId=USA-OTA85208 --timespan=350 --country=USA --postalCode=85208 Building XMLTV file
![]()
Yeah, I've been using your fork for the past 4 or 5 days now without issue.
Was probably not an issue with the zip code then was probably because the affiliateid being used broke on the original