mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
Update database/update.js
This commit is contained in:
parent
25cfecbbf9
commit
b3132150d7
3 changed files with 3 additions and 3 deletions
|
@ -134,7 +134,7 @@ function findOrigin(requests = [], origins = {}) {
|
|||
|
||||
function parseStreams(streams) {
|
||||
streams = streams.filter(s => s.codec_type === 'video')
|
||||
streams = _.orderBy(streams, ['height', 'bitrate'], ['desc', 'desc'])
|
||||
streams = _.orderBy(streams, ['height', 'tags.variant_bitrate'], ['desc', 'desc'])
|
||||
|
||||
const data = _.head(streams)
|
||||
if (data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue