mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
Update scripts
This commit is contained in:
parent
96cb43c398
commit
9b4c7325ee
6 changed files with 63 additions and 29 deletions
|
@ -35,8 +35,8 @@ async function main() {
|
|||
const addRequests = await loader.load({ labels: ['streams:add'] })
|
||||
const buffer = new Dictionary()
|
||||
addRequests.forEach((issue: Issue) => {
|
||||
const channelId = issue.data.get('channel_id') || undefined
|
||||
const streamUrl = issue.data.get('stream_url') || undefined
|
||||
const channelId = issue.data.getString('channel_id') || undefined
|
||||
const streamUrl = issue.data.getString('stream_url')
|
||||
|
||||
const result = new Dictionary({
|
||||
issueNumber: issue.number,
|
||||
|
@ -61,8 +61,8 @@ async function main() {
|
|||
logger.info('checking streams:edit requests...')
|
||||
const editRequests = await loader.load({ labels: ['streams:edit'] })
|
||||
editRequests.forEach((issue: Issue) => {
|
||||
const channelId = issue.data.get('channel_id') || undefined
|
||||
const streamUrl = issue.data.get('stream_url') || undefined
|
||||
const channelId = issue.data.getString('channel_id') || undefined
|
||||
const streamUrl = issue.data.getString('stream_url') || undefined
|
||||
|
||||
const result = new Dictionary({
|
||||
issueNumber: issue.number,
|
||||
|
@ -82,7 +82,7 @@ async function main() {
|
|||
logger.info('checking broken streams reports...')
|
||||
const brokenStreamReports = await loader.load({ labels: ['broken stream'] })
|
||||
brokenStreamReports.forEach((issue: Issue) => {
|
||||
const brokenLinks = issue.data.get('broken_links') || undefined
|
||||
const brokenLinks = issue.data.getString('broken_links') || undefined
|
||||
|
||||
const result = new Dictionary({
|
||||
issueNumber: issue.number,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue