From 855894dece4d5cccd933cdafc0540d30c9f585bd Mon Sep 17 00:00:00 2001 From: Moe Date: Fri, 17 Feb 2023 08:34:28 -0800 Subject: [PATCH] Add log output to Video Compressor --- languages/en_CA.json | 2 ++ libs/video/utils.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/languages/en_CA.json b/languages/en_CA.json index 383b28b2..54047166 100644 --- a/languages/en_CA.json +++ b/languages/en_CA.json @@ -562,6 +562,8 @@ "Email address is in use.": "Email address is in use.", "Account Created": "Account Created", "Account Edited": "Account Edited", + "Compression Info": "Compression Info", + "Compression Error": "Compression Error", "Group Key is in use.": "Group Key is in use.", "adminAccountCreatedMsg": "Your account has been created. Access the account at the primary login page (Non-Superuser).", "adminAccountEditedMsg": "Your account has been edited. You may need to restart Shinobi for some changes to take effect.", diff --git a/libs/video/utils.js b/libs/video/utils.js index 732e7ce6..92dd14bb 100644 --- a/libs/video/utils.js +++ b/libs/video/utils.js @@ -427,6 +427,8 @@ module.exports = (s,config,lang) => { },'GRP_'+groupKey); onPercentChange(percent) s.debugLog('stderr',outputFilePath,`${percent}%`) + }else{ + s.debugLog('stderr',lang['Compression Info'],text) } }) videoBuildProcess.on('exit',async function(data){