mirror of
https://github.com/iptv-org/iptv
synced 2026-10-26 04:48:27 -04:00
Merge pull request #56060 from Dev-next-gen/fix/report-edit-deleted-stream-id
fix: don't flag stream ID removal as invalid in report:create
This commit is contained in:
2 files changed
+18
-1
No files matched your search
@@ -130,7 +130,11 @@ async function main() {
|
|||||||
|
|
||||||
if (!streamUrl) result.status = status.MISSING_STREAM_URL
|
if (!streamUrl) result.status = status.MISSING_STREAM_URL
|
||||||
else if (streamsGroupedByUrl.missing(streamUrl)) result.status = status.NONEXISTENT_LINK
|
else if (streamsGroupedByUrl.missing(streamUrl)) result.status = status.NONEXISTENT_LINK
|
||||||
else if (channelId && data.channelsKeyById.missing(channelId))
|
else if (
|
||||||
|
channelId &&
|
||||||
|
!issue.dataSet.isDeleted('stream_id') &&
|
||||||
|
data.channelsKeyById.missing(channelId)
|
||||||
|
)
|
||||||
result.status = status.INVALID_CHANNEL_ID
|
result.status = status.INVALID_CHANNEL_ID
|
||||||
|
|
||||||
report.add(result)
|
report.add(result)
|
||||||
|
|||||||
@@ -2630,5 +2630,18 @@ module.exports = [
|
|||||||
timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/39098/timeline',
|
timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/39098/timeline',
|
||||||
performed_via_github_app: null,
|
performed_via_github_app: null,
|
||||||
state_reason: null
|
state_reason: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
url: 'https://api.github.com/repos/iptv-org/iptv/issues/39099',
|
||||||
|
html_url: 'https://github.com/iptv-org/iptv/issues/39099',
|
||||||
|
number: 39099,
|
||||||
|
title: 'Edit: RIK 2',
|
||||||
|
labels: [
|
||||||
|
{
|
||||||
|
name: 'streams:edit'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
state: 'open',
|
||||||
|
body: '### Stream URL\n\nhttp://l6.cloudskep.com/rikcy/rik2/playlist.m3u8\n\n### Stream ID\n\n~\n\n### Quality\n\n_No response_\n\n### Live 24/7\n\nNone\n\n### Geo-blocked\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)'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in new issue
Block a user