diff --git a/tests/__data__/expected/playlist_update/playlist_update.log b/tests/__data__/expected/playlist_update/playlist_update.log index e715c918c2..41f10574db 100644 --- a/tests/__data__/expected/playlist_update/playlist_update.log +++ b/tests/__data__/expected/playlist_update/playlist_update.log @@ -1 +1 @@ -closes #14175, closes #14105, closes #14104, closes #14057, closes #14034, closes #13964, closes #13893, closes #13881, closes #13793, closes #13751, closes #13715, closes #14110, closes #14120, closes #14151, closes #14150 \ No newline at end of file +closes #14175, closes #14105, closes #14104, closes #14057, closes #14034, closes #13964, closes #13893, closes #13881, closes #13793, closes #13751, closes #13715, closes #14110, closes #14121, closes #14151, closes #14150, closes #39097 \ No newline at end of file diff --git a/tests/__data__/expected/playlist_update/streams/uk.m3u b/tests/__data__/expected/playlist_update/streams/uk.m3u index 9caa57c157..8ab98201bf 100644 --- a/tests/__data__/expected/playlist_update/streams/uk.m3u +++ b/tests/__data__/expected/playlist_update/streams/uk.m3u @@ -3,5 +3,7 @@ http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/index.m3u8 #EXTINF:-1 tvg-id="BBCNews.uk",BBC News HD (480p) [Geo-blocked] http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/playlist.m3u8 +#EXTINF:-1 tvg-id="",Fox Sports (720p) +https://jmp2.uk/plu-5a74b8e1e22a61737979c6bf.m3u8 #EXTINF:-1 tvg-id="BeanoTV.uk@SD",Beano TV (1080p) https://a5b4bacecd47433dad06d3189fc7422e.mediatailor.us-east-1.amazonaws.com/v1/manifest/04fd913bb278d8775298c26fdca9d9841f37601f/RakutenTV-eu_BeanoTV/b1f233d5-847c-437d-aa4f-f73e67a85323/2.m3u8|Referer="https://referer.xyz/"|User-Agent="Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"|Origin="https://origin.xyz" diff --git a/tests/__data__/input/issues.js b/tests/__data__/input/issues.js index c51bc99da3..ad74fce337 100644 --- a/tests/__data__/input/issues.js +++ b/tests/__data__/input/issues.js @@ -1779,15 +1779,15 @@ module.exports = [ state_reason: null }, { - url: 'https://api.github.com/repos/iptv-org/iptv/issues/14120', + url: 'https://api.github.com/repos/iptv-org/iptv/issues/14121', repository_url: 'https://api.github.com/repos/iptv-org/iptv', - labels_url: 'https://api.github.com/repos/iptv-org/iptv/issues/14120/labels{/name}', - comments_url: 'https://api.github.com/repos/iptv-org/iptv/issues/14120/comments', - events_url: 'https://api.github.com/repos/iptv-org/iptv/issues/14120/events', - html_url: 'https://github.com/iptv-org/iptv/issues/14120', + labels_url: 'https://api.github.com/repos/iptv-org/iptv/issues/14121/labels{/name}', + comments_url: 'https://api.github.com/repos/iptv-org/iptv/issues/14121/comments', + events_url: 'https://api.github.com/repos/iptv-org/iptv/issues/14121/events', + html_url: 'https://github.com/iptv-org/iptv/issues/14121', id: 1884922249, node_id: 'I_kwDOCWUK8M5wWaGJ', - number: 14120, + number: 14121, title: 'Edit: Tele2000', user: { login: 'freearhey', @@ -1842,7 +1842,7 @@ module.exports = [ active_lock_reason: null, body: '### Stream URL\n\nhttps://ythls.onrender.com/channel/UC40TUSUx490U5uR1lZt3Ajg.m3u8\n\n### Stream ID\n\n_No response_\n\n### Quality\n\nNone\n\n### Label\n\nNone\n\n### HTTP User-Agent\n\n_No response_\n\n### HTTP Referrer\n\n_No response_\n\n### Notes\n\n_No response_\n\n### Contributing Guide\n\n- [X] I have read [Contributing Guide](https://github.com/iptv-org/iptv/blob/master/CONTRIBUTING.md)', reactions: { - url: 'https://api.github.com/repos/iptv-org/iptv/issues/14120/reactions', + url: 'https://api.github.com/repos/iptv-org/iptv/issues/14121/reactions', total_count: 0, '+1': 0, '-1': 0, @@ -1853,7 +1853,7 @@ module.exports = [ rocket: 0, eyes: 0 }, - timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/14120/timeline', + timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/14121/timeline', performed_via_github_app: null, state_reason: null }, @@ -2472,5 +2472,84 @@ module.exports = [ timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/15175/timeline', performed_via_github_app: null, state_reason: null + }, + { + url: 'https://api.github.com/repos/iptv-org/iptv/issues/39097', + repository_url: 'https://api.github.com/repos/iptv-org/iptv', + labels_url: 'https://api.github.com/repos/iptv-org/iptv/issues/39097/labels{/name}', + comments_url: 'https://api.github.com/repos/iptv-org/iptv/issues/39097/comments', + events_url: 'https://api.github.com/repos/iptv-org/iptv/issues/39097/events', + html_url: 'https://github.com/iptv-org/iptv/issues/39097', + id: 1884922249, + node_id: 'I_kwDOCWUK8M5wWaGJ', + number: 39097, + title: 'Edit: Fox Sports', + user: { + login: 'freearhey', + id: 7253922, + node_id: 'MDQ6VXNlcjcyNTM5MjI=', + avatar_url: 'https://avatars.githubusercontent.com/u/7253922?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/freearhey', + html_url: 'https://github.com/freearhey', + followers_url: 'https://api.github.com/users/freearhey/followers', + following_url: 'https://api.github.com/users/freearhey/following{/other_user}', + gists_url: 'https://api.github.com/users/freearhey/gists{/gist_id}', + starred_url: 'https://api.github.com/users/freearhey/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/freearhey/subscriptions', + organizations_url: 'https://api.github.com/users/freearhey/orgs', + repos_url: 'https://api.github.com/users/freearhey/repos', + events_url: 'https://api.github.com/users/freearhey/events{/privacy}', + received_events_url: 'https://api.github.com/users/freearhey/received_events', + type: 'User', + site_admin: false + }, + labels: [ + { + id: 5923498886, + node_id: 'LA_kwDOCWUK8M8AAAABYRFrhg', + url: 'https://api.github.com/repos/iptv-org/iptv/labels/approved', + name: 'approved', + color: '85ddde', + default: false, + description: '' + }, + { + id: 5923508587, + node_id: 'LA_kwDOCWUK8M8AAAABYRGRaw', + url: 'https://api.github.com/repos/iptv-org/iptv/labels/streams:edit', + name: 'streams:edit', + color: '017ff9', + default: false, + description: 'Request to add a new link to a playlist' + } + ], + state: 'open', + locked: false, + assignee: null, + assignees: [], + milestone: null, + comments: 1, + created_at: '2023-09-07T00:30:51Z', + updated_at: '2023-09-07T00:48:23Z', + closed_at: null, + author_association: 'COLLABORATOR', + active_lock_reason: null, + body: '### Stream URL\n\nhttps://jmp2.uk/plu-5a74b8e1e22a61737979c6bf.m3u8\n\n### Stream ID\n\n~\n\n### Quality\n\n720p\n\n### Label\n\nNone\n\n### HTTP User-Agent\n\nNone\n\n### HTTP Referrer\n\n_No response_\n\n### Notes\n\n_No response_\n\n### Contributing Guide\n\n- [X] I have read [Contributing Guide](https://github.com/iptv-org/iptv/blob/master/CONTRIBUTING.md)', + reactions: { + url: 'https://api.github.com/repos/iptv-org/iptv/issues/39097/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/39097/timeline', + performed_via_github_app: null, + state_reason: null } ] diff --git a/tests/__data__/input/playlist_update/streams/uk.m3u b/tests/__data__/input/playlist_update/streams/uk.m3u index 033f5a36b5..cdc3234c37 100644 --- a/tests/__data__/input/playlist_update/streams/uk.m3u +++ b/tests/__data__/input/playlist_update/streams/uk.m3u @@ -3,3 +3,5 @@ http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/index.m3u8 #EXTINF:-1 tvg-id="BBCNews.uk",BBC News HD (480p) [Geo-blocked] http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/playlist.m3u8 +#EXTINF:-1 tvg-id="FoxSports.uk",Fox Sports +https://jmp2.uk/plu-5a74b8e1e22a61737979c6bf.m3u8