mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update create-queue.js
This commit is contained in:
parent
b493c5ec1e
commit
fa34132d15
2 changed files with 10 additions and 9 deletions
|
@ -48,15 +48,16 @@ async function createQueue() {
|
|||
for (const d of dates) {
|
||||
const dString = d.toJSON()
|
||||
const key = `${item.site}:${item.site_id}:${dString}`
|
||||
console.log(key)
|
||||
if (!queue[key]) {
|
||||
queue[key] = {
|
||||
lang: item.lang,
|
||||
xmltv_id: item.xmltv_id,
|
||||
site_id: item.site_id,
|
||||
channel: {
|
||||
lang: item.lang,
|
||||
xmltv_id: item.xmltv_id,
|
||||
site_id: item.site_id
|
||||
},
|
||||
site: item.site,
|
||||
date: dString,
|
||||
configPath: item.configPath,
|
||||
configPath,
|
||||
groups: [],
|
||||
error: null
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue