mirror of
https://github.com/iptv-org/iptv
synced 2026-10-24 11:58:35 -04:00
Update scripts
This commit is contained in:
1 parent
9de968a18d
commit
acb19e72ee
36 files changed
+342
-85
No files matched your search
@@ -26,6 +26,7 @@ async function main() {
|
||||
const {
|
||||
channelsKeyById,
|
||||
feedsGroupedByChannelId,
|
||||
logosGroupedByStreamId,
|
||||
blocklistRecordsGroupedByChannelId
|
||||
}: DataProcessorData = processor.process(data)
|
||||
|
||||
@@ -34,7 +35,8 @@ async function main() {
|
||||
const parser = new PlaylistParser({
|
||||
storage: rootStorage,
|
||||
channelsKeyById,
|
||||
feedsGroupedByChannelId
|
||||
feedsGroupedByChannelId,
|
||||
logosGroupedByStreamId
|
||||
})
|
||||
const files = program.args.length ? program.args : await rootStorage.list('streams/**/*.m3u')
|
||||
const streams = await parser.parse(files)
|
||||
|
||||
Reference in new issue
Block a user