diff --git a/tests/__data__/input/data/channels.json b/tests/__data__/input/data/channels.json index fe31e8dc02..d12451f91b 100644 --- a/tests/__data__/input/data/channels.json +++ b/tests/__data__/input/data/channels.json @@ -677,5 +677,16 @@ "replaced_by": null, "website": "https://eltr.kg", "logo": "https://i.ibb.co/r6czQwQ/365049798-774721644658455-5702658175909463406-n-2.png" + }, + { + "id": "IONTV.us", + "name": "ION TV", + "network": null, + "country": "US", + "subdivision": null, + "city": null, + "categories": [], + "is_nsfw": false, + "logo": "https://i.imgur.com/Iam3ol3.png" } ] \ No newline at end of file diff --git a/tests/__data__/input/playlist_update/issues.js b/tests/__data__/input/playlist_update/issues.js index f75ea9baed..8feff1416f 100644 --- a/tests/__data__/input/playlist_update/issues.js +++ b/tests/__data__/input/playlist_update/issues.js @@ -2211,5 +2211,78 @@ module.exports = [ timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/19957/timeline', performed_via_github_app: null, state_reason: null + }, + { + url: 'https://api.github.com/repos/iptv-org/iptv/issues/20956', + repository_url: 'https://api.github.com/repos/iptv-org/iptv', + labels_url: 'https://api.github.com/repos/iptv-org/iptv/issues/20956/labels{/name}', + comments_url: 'https://api.github.com/repos/iptv-org/iptv/issues/20956/comments', + events_url: 'https://api.github.com/repos/iptv-org/iptv/issues/20956/events', + html_url: 'https://github.com/iptv-org/iptv/issues/20956', + id: 2880738444, + node_id: 'I_kwDOCWUK8M6rtJQo', + number: 20956, + title: 'Find: IONTV.us', + user: { + login: 'M3UDay', + id: 164743332, + node_id: 'U_kgDOCdHIpA', + avatar_url: 'https://avatars.githubusercontent.com/u/164743332?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/M3UDay', + html_url: 'https://github.com/M3UDay', + followers_url: 'https://api.github.com/users/M3UDay/followers', + following_url: 'https://api.github.com/users/M3UDay/following{/other_user}', + gists_url: 'https://api.github.com/users/M3UDay/gists{/gist_id}', + starred_url: 'https://api.github.com/users/M3UDay/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/M3UDay/subscriptions', + organizations_url: 'https://api.github.com/users/M3UDay/orgs', + repos_url: 'https://api.github.com/users/M3UDay/repos', + events_url: 'https://api.github.com/users/M3UDay/events{/privacy}', + received_events_url: 'https://api.github.com/users/M3UDay/received_events', + type: 'User', + user_view_type: 'public', + site_admin: false + }, + labels: [ + { + id: 8197871093, + node_id: 'LA_kwDOCWUK8M8AAAAB6KGV9Q', + url: 'https://api.github.com/repos/iptv-org/iptv/labels/channel%20search', + name: 'channel search', + color: 'eaeaea', + default: false, + description: 'Request to find a link to a channel stream' + } + ], + state: 'open', + locked: false, + assignee: null, + assignees: [], + milestone: null, + comments: 0, + created_at: '2025-02-26T08:43:49Z', + updated_at: '2025-02-26T08:43:49Z', + closed_at: null, + author_association: 'NONE', + sub_issues_summary: { total: 0, completed: 0, percent_completed: 0 }, + active_lock_reason: null, + body: '### Channel ID (required)\n\nIONTV.us\n\n### Notes\n\n_No response_', + closed_by: null, + reactions: { + url: 'https://api.github.com/repos/iptv-org/iptv/issues/20956/reactions', + total_count: 0, + '+1': 0, + '-1': 0, + laugh: 0, + hooray: 0, + confused: 0, + heart: 0, + rocket: 0, + eyes: 0 + }, + timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/20956/timeline', + performed_via_github_app: null, + state_reason: null } ] diff --git a/tests/__data__/input/report_create/us.m3u b/tests/__data__/input/report_create/us.m3u index 78ea4deb5c..6a617277d9 100644 --- a/tests/__data__/input/report_create/us.m3u +++ b/tests/__data__/input/report_create/us.m3u @@ -1,3 +1,5 @@ #EXTM3U #EXTINF:-1 tvg-id="",TUTV https://livestream.telvue.com/templeuni1/f7b44cfafd5c52223d5498196c8a2e7b.sdp/playlist.m3u8 +#EXTINF:-1 tvg-id="IONTV.us@East",ION TV +http://fl3.moveonjoy.com/ION_TV/index.m3u8 \ No newline at end of file diff --git a/tests/commands/report/create.test.ts b/tests/commands/report/create.test.ts index d974a93a73..3f6bcbb9ff 100644 --- a/tests/commands/report/create.test.ts +++ b/tests/commands/report/create.test.ts @@ -24,6 +24,7 @@ describe('report:create', () => { │ 3 │ 14178 │ 'streams:add' │ 'TV3.my' │ 'https://live-streams-ssai-01.tonton.com.my/live/2dd2b7cd-1b34-4871-b669-57b5c9beca23/live.isml/.m3u8...' │ 'blocked' │ │ 4 │ 16120 │ 'streams:remove' │ undefined │ 'http://190.61.102.67:2000/play/a038/index.m3u8' │ 'wrong_link' │ │ 5 │ 19956 │ 'channel search' │ 'CNBCe.tr' │ undefined │ 'invalid_id' │ +│ 6 │ 20956 │ 'channel search' │ 'IONTV.us' │ undefined │ 'fulfilled' │ └─────────┴─────────────┴──────────────────┴─────────────────────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────┴───────────────┘`) ).toBe(true) })