mirror of
https://github.com/iptv-org/iptv
synced 2026-10-21 18:46:20 -04:00
Update scripts
This commit is contained in:
1 parent
4ed6791392
commit
03a228f161
6 files changed
+27
-5
No files matched your search
@@ -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`)
|
||||
|
||||
Reference in new issue
Block a user