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-d78f3d33393fpull/27/merge
parent
a431d6ea8e
commit
220733c73b
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue