mirror of
https://github.com/iptv-org/iptv
synced 2026-10-26 21:08:28 -04:00
Update update.js
This commit is contained in:
1 parent
009bffecd5
commit
595b9bdd52
1 file changed
+1
-1
@@ -9,7 +9,7 @@ async function main() {
|
|||||||
const levels = { online: 1, blocked: 2, timeout: 3, error: 4, default: 5 }
|
const levels = { online: 1, blocked: 2, timeout: 3, error: 4, default: 5 }
|
||||||
streams = orderBy(
|
streams = orderBy(
|
||||||
streams,
|
streams,
|
||||||
['title', s => levels[s.status] || levels['default'], 'height', 'url'],
|
['channel', s => levels[s.status] || levels['default'], 'height', 'url'],
|
||||||
['asc', 'asc', 'desc', 'asc']
|
['asc', 'asc', 'desc', 'asc']
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user