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
2c8e56ce6f
commit
74425d75dc
1 file changed
+1
-1
@@ -140,7 +140,7 @@ function parseFrameRate(frame_rate = '0/0') {
|
||||
const parts = frame_rate.split('/')
|
||||
const number = parseInt(parts[0]) / parseInt(parts[1])
|
||||
|
||||
return Math.round(number * 100) / 100
|
||||
return number > 0 ? Math.round(number * 100) / 100 : 0
|
||||
}
|
||||
|
||||
function parseStatus(error) {
|
||||
|
||||
Reference in new issue
Block a user