add description for auto compress

archive-videos
Moe 2022-08-18 21:48:20 -07:00
parent a6788fec79
commit 739f9d83b0
3 changed files with 4 additions and 1 deletions

View File

@ -123,6 +123,7 @@ module.exports = function(s,config,lang){
{
"name": "detail=auto_compress_videos",
"field": lang['Compress Completed Videos'],
"description": lang.compressCompletedVideosFieldText,
"fieldType": "select",
"possible": [
{

View File

@ -497,6 +497,7 @@
"Fix Video": "Fix Video",
"Compress Videos": "Compress Videos",
"Compress Completed Videos": "Compress Completed Videos",
"compressCompletedVideosFieldText": "Automatically convert videos to WebM once recorded. Doing this requires a powerful CPU or you must allow a large amount of time to allow compression. The rate in which videos are added to the database can't be faster than the rate for compression.",
"FixVideoMsg": "Do you want to fix this video? This will create a new file and overwrite the old one. You cannot undo this action.",
"DeleteVideoMsg": "Do you want to delete this video? You cannot recover it.",
"CompressVideoMsg": "Do you want to compress this video? The original will be moved to your FileBin. Videos that are already completed compressing will be skipped if already queued.",

View File

@ -48,7 +48,8 @@ module.exports = function(s,config,lang){
setPresetForCurrentPosition
} = require('./control/ptz.js')(s,config,lang)
const {
scanForOrphanedVideos
scanForOrphanedVideos,
reEncodeVideoAndBinOriginalAddToQueue,
} = require('./video/utils.js')(s,config,lang)
const {
selectNodeForOperation,