mirror of
https://github.com/iptv-org/iptv
synced 2026-10-26 21:08:28 -04:00
Update scripts
This commit is contained in:
1 parent
4ed6791392
commit
03a228f161
6 files changed
+27
-5
No files matched your search
@@ -90,6 +90,7 @@ async function editStreams(loader: IssueLoader) {
|
||||
if (data.has('channel_name')) stream.name = data.get('channel_name')
|
||||
if (data.has('label')) stream.label = data.get('label')
|
||||
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('http_referrer')) stream.httpReferrer = data.get('http_referrer')
|
||||
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'),
|
||||
label: data.get('label'),
|
||||
quality: data.get('quality'),
|
||||
timeshift: data.get('timeshift'),
|
||||
userAgent: data.get('user_agent'),
|
||||
httpReferrer: data.get('http_referrer'),
|
||||
filepath: `${channel.country.toLowerCase()}.m3u`,
|
||||
|
||||
Reference in new issue
Block a user