From b4dc7696e5094a52269529020885915cb0b9a44f Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Thu, 9 Jun 2022 03:26:04 +0300 Subject: [PATCH] Update update.js --- scripts/commands/database/update.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/commands/database/update.js b/scripts/commands/database/update.js index 75abb48445..414bdf054a 100644 --- a/scripts/commands/database/update.js +++ b/scripts/commands/database/update.js @@ -137,9 +137,10 @@ function parseMediaInfo(streams) { } function parseFrameRate(r_frame_rate = '0/0') { - let parts = r_frame_rate.split('/') + const parts = r_frame_rate.split('/') + const number = parseInt(parts[0]) - return parseInt(parts[0]) + return number > 10000 ? number / 1000 : number } function parseStatus(error) {