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
1ab3a166bd
commit
c0a67c69be
1 file changed
+2
-2
@@ -138,9 +138,9 @@ function parseMediaInfo(streams) {
|
||||
|
||||
function parseFrameRate(r_frame_rate = '0/0') {
|
||||
const parts = r_frame_rate.split('/')
|
||||
const number = parseInt(parts[0])
|
||||
const number = parseInt(parts[0]) / parseInt(parts[1])
|
||||
|
||||
return number > 10000 ? number / 1000 : number
|
||||
return Math.round(number * 100) / 100
|
||||
}
|
||||
|
||||
function parseStatus(error) {
|
||||
|
||||
Reference in new issue
Block a user