Skip to content

Conversation

@StrangeDrVN
Copy link
Contributor

@StrangeDrVN StrangeDrVN commented Dec 22, 2025

My attempt at making a site with very limited knowledge. Any changes are welcome.

Issues:

  • might be fixed - Majority DISTROTV_LIVETVCHANNEL channels currently returning 0 programs - likely issue at source
  • Description (ldesc, sdesc)`(desc) seems to abruptly end mid-sentence - likely issue at source

Test command:

 npm test --- airtelxstream.in

> test
> cross-env TZ=Pacific/Nauru npx jest --runInBand airtelxstream.in

 PASS  sites/airtelxstream.in/airtelxstream.in.test.js
  √ can generate valid url (5 ms)
  √ can parse response (3 ms)
  √ can handle empty guide (1 ms)
  √ can parse channel list (2 ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        0.944 s
Ran all test suites matching airtelxstream.in.

Grabbing programs:

 npm run grab --- --site=airtelxstream.in --output=airtel_guide.xml --days=1

> grab
> tsx scripts/commands/epg/grab.ts --site=airtelxstream.in --output=airtel_guide.xml --days=1

info starting...
info loading channels...
info found 967 channel(s)
info loading api data...
info creating queue...
info run:
info   [1/967] airtelxstream.in (en) - TheTitanicChannel.us@SD - Jan 8, 2026 (128 programs)
info   [2/967] airtelxstream.in (en) - HorizonSports.us@SD - Jan 8, 2026 (60 programs)
info   [3/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_417 - Jan 8, 2026 (160 programs)
info   [4/967] airtelxstream.in (en) - EverydayHeroes.us@SD - Jan 8, 2026 (36 programs)
info   [5/967] airtelxstream.in (en) - YoungHollywood.us@SD - Jan 8, 2026 (104 programs)
info   [6/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_1192 - Jan 8, 2026 (1 programs)
info   [7/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_2532 - Jan 8, 2026 (1 programs)
info   [8/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_4602 - Jan 8, 2026 (1 programs)
info   [9/967] airtelxstream.in (en) - CTVNAKDPlus.in@SD - Jan 8, 2026 (1 programs)
info   [10/967] airtelxstream.in (en) - ChuttiTV.in@SD - Jan 8, 2026 (20 programs)
info   [11/967] airtelxstream.in (en) - ChintuTV.in@SD - Jan 8, 2026 (19 programs)
info   [12/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_5381 - Jan 8, 2026 (1 programs)
info   [13/967] airtelxstream.in (en) - ChardiklaTimeTV.in@SD - Jan 8, 2026 (45 programs)
info   [14/967] airtelxstream.in (en) - ChannelWIN.in@SD - Jan 8, 2026 (45 programs)
info   [15/967] airtelxstream.in (en) - LaBocinaLatina.us@SD - Jan 8, 2026 (1 programs)
info   [16/967] airtelxstream.in (en) - PrimeAsiaTV.ca@SD - Jan 8, 2026 (1 programs)
info   [17/967] airtelxstream.in (en) - CBeebies.uk@SD - Jan 8, 2026 (162 programs)
info   [18/967] airtelxstream.in (en) - CartoonNetworkHDPlus.in@SD - Jan 8, 2026 (12 programs)
info   [19/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_5374 - Jan 8, 2026 (1 programs)
info   [20/967] airtelxstream.in (en) - CartoonNetwork.in - Jan 8, 2026 (37 programs)
info   [21/967] airtelxstream.in (en) - CaptainTV.in@SD - Jan 8, 2026 (11 programs)
info   [22/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_2531 - Jan 8, 2026 (1 programs)
info   [23/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_4595 - Jan 8, 2026 (1 programs)
info   [24/967] airtelxstream.in (en) - SakshiTV.in@SD - Jan 8, 2026 (1 programs)
info   [25/967] airtelxstream.in (en) - BIGTV.in@SD - Jan 8, 2026 (38 programs)
...
...
info   [962/967] airtelxstream.in (en) - StarPravah.in@SD - Jan 8, 2026 (49 programs)
info   [963/967] airtelxstream.in (en) - NewsJ.in@SD - Jan 8, 2026 (48 programs)
info   [964/967] airtelxstream.in (en) - ETNow.in@SD - Jan 8, 2026 (38 programs)
info   [965/967] airtelxstream.in (en) - StarSportsSelect2.in@HD - Jan 8, 2026 (49 programs)
info   [966/967] airtelxstream.in (en) - News24MPChhattisgarh.in@SD - Jan 8, 2026 (49 programs)
info   [967/967] airtelxstream.in (en) - StarSportsSelect1.in@SD - Jan 8, 2026 (38 programs)
info   saving to "airtel_guide.xml"...
success   done in 00h 01m 27s

@StrangeDrVN
Copy link
Contributor Author

@BellezaEmporium Could you check this whenever possible?

@BellezaEmporium BellezaEmporium self-requested a review December 22, 2025 10:16
updated channels parsing to remove duplicates
removed *_ditrotv.channels.xml
changed content.json
updated test.js
@StrangeDrVN StrangeDrVN marked this pull request as ready for review January 8, 2026 09:03
@BellezaEmporium
Copy link
Contributor

@BellezaEmporium Could you check this whenever possible?

Great work so far, I can see you've understood the basics of the epg-grabber system. Grabber and tests seem to work as-is.

https://livetv.airtel.tv/v1/livechannel works without any parameter, and instead of "DISTROTV" I have "RUNNTV" data. Might create a set of labels to get all the channels that are available.

Copy link
Contributor

@BellezaEmporium BellezaEmporium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I don't see any particular issues with the current implementation. Great job @StrangeDrVN

@PopeyeTheSai10r
Copy link
Collaborator

Test passed.
Grabber worked.

Test
info   [1/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_417 - Jan 12, 2026 (161 programs)
info   [2/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_653 - Jan 12, 2026 (21 programs)
info   [3/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_659 - Jan 12, 2026 (21 programs)
info   [4/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_1085 - Jan 12, 2026 (53 programs)
info   [5/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_1188 - Jan 12, 2026 (1 programs)
info   [6/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_1249 - Jan 12, 2026 (1 programs)
info   [7/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_3074 - Jan 12, 2026 (1 programs)
info   [8/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_4602 - Jan 12, 2026 (1 programs)
info   [9/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_4595 - Jan 12, 2026 (1 programs)
info   [10/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_2894 - Jan 12, 2026 (1 programs)
info   [11/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_4554 - Jan 12, 2026 (1 programs)
info   [12/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_4500 - Jan 12, 2026 (1 programs)
info   [13/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_5312 - Jan 12, 2026 (1 programs)
info   [14/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_1236 - Jan 12, 2026 (4 programs)
info   [15/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_2893 - Jan 12, 2026 (1 programs)
info   [16/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_4110 - Jan 12, 2026 (1 programs)
info   [17/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_5310 - Jan 12, 2026 (1 programs)
info   [18/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_5309 - Jan 12, 2026 (1 programs)
info   [19/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_4109 - Jan 12, 2026 (1 programs)
info   [20/967] airtelxstream.in (en) - DISTROTV_LIVETVCHANNEL_5308 - Jan 12, 2026 (1 programs)

@PopeyeTheSai10r PopeyeTheSai10r merged commit e617bd2 into iptv-org:master Jan 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants