Update scripts

This commit is contained in:
freearhey
2023-11-01 05:38:07 +03:00
parent 4ed6791392
commit 03a228f161
6 changed files with 27 additions and 5 deletions

View File

@@ -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`)