iptv-org / iptv-org.github.io

https://iptv-org.github.io
The Unlicense
360 stars 103 forks source link

"Channel" missing in streams.json #1810

Closed IPTVmanreal closed 3 weeks ago

IPTVmanreal commented 1 month ago

The JSON's channel portion is entirely blank, causing any attempt to list channels invalid

image

PopeyeTheSai10r commented 3 weeks ago

Are you using https://iptv-org.github.io/api/channels.json ?

IPTVmanreal commented 3 weeks ago

No, I'm using https://iptv-org.github.io/api/streams.json

PopeyeTheSai10r commented 3 weeks ago

Working on my end. Try different browser or tool

streams

IPTVmanreal commented 3 weeks ago

Your screenshot is also lacking the channel value image

PopeyeTheSai10r commented 3 weeks ago

Oh, I see. From your first screenshot, I though you were not able to get any response at all.

@freearhey any idea why the channel info isn't populating?

PopeyeTheSai10r commented 3 weeks ago

Upon further inspection, I noticed that not all the results has an empty channel value but some do. Those with no channel information are returned first. The information is based on what's the iptv repo the has for those channels.

If the tvg-id is left blank (""), it will return "" when using the API.

Example: https://github.com/iptv-org/iptv/blob/ff68858512e18b2ff65fde11826d36ad62a5cab7/streams/am_ucom.m3u#L40