Files
epg/scripts/models/channel.ts

10 lines
280 B
TypeScript
Raw Normal View History

2025-10-22 02:27:22 +03:00
import * as epgGrabber from 'epg-grabber'
import { SITES_DIR } from '../constants'
import path from 'node:path'
export class Channel extends epgGrabber.Channel {
getConfigPath(): string {
return path.resolve(SITES_DIR, `${this.site}/${this.site}.config.js`)
}
}