From e7ee464a17c8174c68dedd1e94c8eb617da61e6d Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 31 Mar 2016 15:50:44 -0400 Subject: [PATCH] Add a RecordAudio setting to the Storage Tab --- web/lang/en_gb.php | 1 + web/skins/classic/views/monitor.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/web/lang/en_gb.php b/web/lang/en_gb.php index 3b1ec9ef3..bc9c79779 100644 --- a/web/lang/en_gb.php +++ b/web/lang/en_gb.php @@ -584,6 +584,7 @@ $SLANG = array( 'Protocol' => 'Protocol', 'Rate' => 'Rate', 'RecaptchaWarning' => 'Your reCaptcha secret key is invalid. Please correct it, or reCaptcha will not work', // added Sep 24 2015 - PP + 'RecordAudio' => 'Whether to store the audio stream when saving an event.', 'Real' => 'Real', 'Record' => 'Record', 'RefImageBlendPct' => 'Reference Image Blend %ge', diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index bd06aa49a..cc21b50ee 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -86,6 +86,7 @@ if ( ! empty($_REQUEST['mid']) ) { 'SaveJPEGs' => "3", 'VideoWriter' => "0", 'EncoderParameters' => "# Lines beginning with # are a comment \n# For changing quality, use the crf option\n# 1 is best, 51 is worst quality\n#crf=23\n", + 'RecordAudio' => "0", 'LabelFormat' => '%N - %d/%m/%y %H:%M:%S', 'LabelX' => 0, 'LabelY' => 0, @@ -591,6 +592,7 @@ if ( $tab != 'storage' ) + + checked="checked"/>