Update queue.db

This commit is contained in:
Aleksandr Statciuk 2022-01-31 03:01:05 +03:00
parent 6b75583a07
commit 0398016707
8 changed files with 21 additions and 21 deletions

View file

@ -54,9 +54,9 @@ async function createQueue() {
channel: {
lang: item.lang,
xmltv_id: item.xmltv_id,
site_id: item.site_id
site_id: item.site_id,
site: item.site
},
site: item.site,
date: dString,
configPath,
groups: [],

View file

@ -45,7 +45,7 @@ async function main() {
await grabber.grab(item.channel, item.date, config, async (data, err) => {
logger.info(
`[${i}/${total}] ${item.site} - ${item.channel.xmltv_id} - ${data.date.format(
`[${i}/${total}] ${item.channel.site} - ${item.channel.xmltv_id} - ${data.date.format(
'MMM D, YYYY'
)} (${data.programs.length} programs)`
)

View file

@ -28,7 +28,7 @@ async function main() {
start: program.start,
stop: program.stop,
stop: program.stop,
site: item.site,
site: item.channel.site,
_qid: result._qid
}
})

View file

@ -36,7 +36,7 @@ async function loadGuides(programs = []) {
if (!item.error && channelPrograms) {
output.push({
channel: item.channel.xmltv_id,
site: item.site,
site: item.channel.site,
lang: item.channel.lang,
url: `https://iptv-org.github.io/epg/guides/${group}.epg.xml`
})

View file

@ -32,7 +32,7 @@ async function generateGuides() {
if (item.error) {
const error = {
xmltv_id: item.channel.xmltv_id,
site: item.site,
site: item.channel.site,
site_id: item.channel.site_id,
lang: item.channel.lang,
date: item.date,
@ -54,7 +54,7 @@ async function generateGuides() {
return {
id: channel.id,
display_name: channel.name,
url: item.site,
url: item.channel.site,
icon: channel.logo
}
})