mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 11:27:06 -05:00
Update queueCreator.ts
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { Storage, Collection, DateTime, Logger } from '@freearhey/core'
|
import { Storage, Collection, DateTime, Logger } from '@freearhey/core'
|
||||||
import { ChannelsParser, ConfigLoader, ApiChannel, Queue } from './'
|
import { ChannelsParser, ConfigLoader, ApiChannel, Queue } from './'
|
||||||
import { SITES_DIR, DATA_DIR } from '../constants'
|
import { SITES_DIR, DATA_DIR } from '../constants'
|
||||||
import { SiteConfig } from 'epg-grabber'
|
import { Channel, SiteConfig } from 'epg-grabber'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { GrabOptions } from '../commands/epg/grab'
|
import { GrabOptions } from '../commands/epg/grab'
|
||||||
|
|
||||||
@@ -47,6 +47,7 @@ export class QueueCreator {
|
|||||||
)
|
)
|
||||||
if (found) {
|
if (found) {
|
||||||
channel.logo = found.logo
|
channel.logo = found.logo
|
||||||
|
channel.name = found.name
|
||||||
}
|
}
|
||||||
|
|
||||||
const days = this.options.days || config.days || 1
|
const days = this.options.days || config.days || 1
|
||||||
|
|||||||
Reference in New Issue
Block a user