mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Update update.js
This commit is contained in:
1 parent
7b2d06f26f
commit
5b90a6f5d8
1 file changed
+3
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user