mirror of
https://github.com/iptv-org/iptv.git
synced 2026-11-25 17:51:16 +02:00
fix: keep the main feed when a streams:edit request gives only the channel ID
The edit template accepts a Stream ID made of the channel ID alone. In that case updateWithIssue set the feed to undefined and updateTvgId wrote tvg-id="<channel_id>" with no feed. playlist:generate only keeps streams with an explicit feed, so the edited stream silently dropped out of index.m3u and every grouped playlist until someone ran playlist:format. This happened for #59575 (ATM Rozrywka REWORK) and earlier for Qazaqstan HD. Fill in the channel's main feed, the same feed the SDK's getId() and the add path already resolve to.
This commit is contained in:
@@ -2643,5 +2643,21 @@ module.exports = [
|
||||
],
|
||||
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)'
|
||||
},
|
||||
{
|
||||
url: 'https://api.github.com/repos/iptv-org/iptv/issues/59575',
|
||||
html_url: 'https://github.com/iptv-org/iptv/issues/59575',
|
||||
number: 59575,
|
||||
title: 'Edit: BBC News HD',
|
||||
labels: [
|
||||
{
|
||||
name: 'approved'
|
||||
},
|
||||
{
|
||||
name: 'streams:edit'
|
||||
}
|
||||
],
|
||||
state: 'open',
|
||||
body: '### Stream URL (required)\n\nhttp://1111296894.rsc.cdn77.org/LS-ATL-54548-6/index.m3u8\n\n### Stream ID\n\nBBCNews.uk\n\n### Live 24/7\n\n_No response_\n\n### Geo-blocked\n\n_No response_\n\n### Quality\n\n_No response_\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