mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
Update scripts
This commit is contained in:
parent
e0a2cb295a
commit
62fac80172
6 changed files with 27 additions and 5 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)
|
||||
.orderBy([(stream: Stream) => stream.channel, (stream: Stream) => stream.timeshift])
|
||||
.map((stream: Stream) => stream.toJSON())
|
||||
|
||||
logger.info(`found ${streams.count()} streams`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue