This commit is contained in:
theofficialomega
2025-10-24 15:09:57 +02:00
parent b8060aac30
commit e985c40134
11 changed files with 21 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
import { parseChannels } from 'epg-grabber'
import { Storage } from '@freearhey/core'
import { EPGGrabber } from 'epg-grabber'
import { Storage } from '@freearhey/storage-js'
import { ChannelList } from '../models'
interface ChannelsParserProps {
@@ -15,7 +15,7 @@ export class ChannelsParser {
async parse(filepath: string): Promise<ChannelList> {
const content = await this.storage.load(filepath)
const parsed = parseChannels(content)
const parsed = EPGGrabber.parseChannelsXML(content)
return new ChannelList({ channels: parsed })
}