|
|
@ -90,6 +90,7 @@ async function editStreams(loader: IssueLoader) {
|
|
|
|
if (data.has('channel_name')) stream.name = data.get('channel_name')
|
|
|
|
if (data.has('channel_name')) stream.name = data.get('channel_name')
|
|
|
|
if (data.has('label')) stream.label = data.get('label')
|
|
|
|
if (data.has('label')) stream.label = data.get('label')
|
|
|
|
if (data.has('quality')) stream.quality = data.get('quality')
|
|
|
|
if (data.has('quality')) stream.quality = data.get('quality')
|
|
|
|
|
|
|
|
if (data.has('timeshift')) stream.timeshift = data.get('timeshift')
|
|
|
|
if (data.has('user_agent')) stream.userAgent = data.get('user_agent')
|
|
|
|
if (data.has('user_agent')) stream.userAgent = data.get('user_agent')
|
|
|
|
if (data.has('http_referrer')) stream.httpReferrer = data.get('http_referrer')
|
|
|
|
if (data.has('http_referrer')) stream.httpReferrer = data.get('http_referrer')
|
|
|
|
if (data.has('channel_name')) stream.name = data.get('channel_name')
|
|
|
|
if (data.has('channel_name')) stream.name = data.get('channel_name')
|
|
|
@ -114,6 +115,7 @@ async function addStreams(loader: IssueLoader) {
|
|
|
|
url: data.get('stream_url'),
|
|
|
|
url: data.get('stream_url'),
|
|
|
|
label: data.get('label'),
|
|
|
|
label: data.get('label'),
|
|
|
|
quality: data.get('quality'),
|
|
|
|
quality: data.get('quality'),
|
|
|
|
|
|
|
|
timeshift: data.get('timeshift'),
|
|
|
|
userAgent: data.get('user_agent'),
|
|
|
|
userAgent: data.get('user_agent'),
|
|
|
|
httpReferrer: data.get('http_referrer'),
|
|
|
|
httpReferrer: data.get('http_referrer'),
|
|
|
|
filepath: `${channel.country.toLowerCase()}.m3u`,
|
|
|
|
filepath: `${channel.country.toLowerCase()}.m3u`,
|
|
|
|