mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update queue.db
This commit is contained in:
parent
6b75583a07
commit
0398016707
8 changed files with 21 additions and 21 deletions
|
@ -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: [],
|
||||
|
|
|
@ -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)`
|
||||
)
|
||||
|
|
|
@ -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
|
||||
}
|
||||
})
|
||||
|
|
|
@ -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`
|
||||
})
|
||||
|
|
|
@ -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
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue