mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-11 17:40:03 -04:00
Update scripts
This commit is contained in:
parent
b628341520
commit
1b29e05111
6 changed files with 3 additions and 18 deletions
|
@ -13,7 +13,7 @@ async function main() {
|
|||
let streams = await parser.parse(files)
|
||||
streams = streams
|
||||
.map(data => new Stream(data))
|
||||
.orderBy([(stream: Stream) => stream.channel, (stream: Stream) => stream.timeshift])
|
||||
.orderBy([(stream: Stream) => stream.channel])
|
||||
.map((stream: Stream) => stream.toJSON())
|
||||
|
||||
logger.info(`found ${streams.count()} streams`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue