From 81c4a51eeb3d36a8c55ecca3e473c1511a7ff130 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk <github@oiya.xyz> Date: Tue, 22 Mar 2022 15:50:53 +0300 Subject: [PATCH] Update update.js --- scripts/commands/playlist/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands/playlist/update.js b/scripts/commands/playlist/update.js index 006a3ce26..d2a4a0028 100644 --- a/scripts/commands/playlist/update.js +++ b/scripts/commands/playlist/update.js @@ -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'] )