Modified to use real brightness and not just saved brightness.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1117 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2004-09-26 16:24:05 +00:00
parent a431d6ea8e
commit 220733c73b
1 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,15 @@ if ( !$result )
die( mysql_error() );
$monitor = mysql_fetch_assoc( $result );
$zmu_command = ZMU_COMMAND." -m $mid -B -C -H -O";
$zmu_output = exec( escapeshellcmd( $zmu_command ) );
list( $brightness, $contrast, $hue, $colour ) = split( ' ', $zmu_output );
$monitor['Brightness'] = $brightness;
$monitor['Contrast'] = $contrast;
$monitor['Hue'] = $hue;
$monitor['Colour'] = $colour;
?>
<html>
<head>