mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
Update update.js
This commit is contained in:
parent
9f9cb8f636
commit
9a67c1db52
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue