mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 01:50:04 -04:00
Update update.js
This commit is contained in:
parent
afae713136
commit
744f17bd8f
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ async function updateStreams(items = [], results = {}, origins = {}) {
|
|||
const result = results[item._id]
|
||||
if (result) {
|
||||
const status = parseStatus(result.error)
|
||||
stream.set('status', { status })
|
||||
if (status) {
|
||||
stream.set('status', { status })
|
||||
}
|
||||
|
||||
if (result.streams.length) {
|
||||
const { width, height, bitrate, frame_rate } = parseMediaInfo(result.streams)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue