Update update.js

This commit is contained in:
Aleksandr Statciuk 2022-03-22 15:50:53 +03:00
parent bbecbc0238
commit 81c4a51eeb
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ async function main() {
const levels = { online: 1, blocked: 2, timeout: 3, error: 4, default: 5 }
streams = orderBy(
streams,
['title', s => levels[s.status] || levels['default'], 'height', 'url'],
['channel', s => levels[s.status] || levels['default'], 'height', 'url'],
['asc', 'asc', 'desc', 'asc']
)