diff --git a/scripts/commands/playlist/update.js b/scripts/commands/playlist/update.js index d2a4a00283..40418500de 100644 --- a/scripts/commands/playlist/update.js +++ b/scripts/commands/playlist/update.js @@ -9,8 +9,8 @@ async function main() { const levels = { online: 1, blocked: 2, timeout: 3, error: 4, default: 5 } streams = orderBy( streams, - ['channel', s => levels[s.status] || levels['default'], 'height', 'url'], - ['asc', 'asc', 'desc', 'asc'] + ['channel', s => levels[s.status] || levels['default'], 'height', 'frame_rate', 'url'], + ['asc', 'asc', 'desc', 'desc', 'asc'] ) const files = _.groupBy(streams, 'filepath')