Compare commits
	
		
			2 Commits
		
	
	
		
			bd38ced467
			...
			ff376f8733
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| ff376f8733 | |||
| 07c4dd7d4d | 
| 
						 | 
				
			
			@ -27,7 +27,7 @@ $query = "SELECT songid FROM " . RECENTSTABLE . " ORDER BY timeplayed DESC limit
 | 
			
		|||
$sth = $globaldbh->prepare($query);
 | 
			
		||||
$sth->execute();
 | 
			
		||||
$data['volume'] = getSystemVolume();
 | 
			
		||||
system("HOME=" . WEBUSERHOMEDIR . " && scripts/homeaudio_togglemute.pl -show", $retval);
 | 
			
		||||
system("HOME=" . WEBUSERHOMEDIR . " && ../scripts/homeaudio_togglemute.pl -show", $retval);
 | 
			
		||||
$data['muted'] = ($retval == 0) ? false : true;
 | 
			
		||||
$data['songplaying'] = "";
 | 
			
		||||
$data['songlist'] = "";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,9 +3,9 @@
 | 
			
		|||
require '../header.php';
 | 
			
		||||
 | 
			
		||||
if ( isset($_REQUEST['show']) && ($_REQUEST['show'] == 'show') ) {
 | 
			
		||||
   system("HOME=" . WEBUSERHOMEDIR . " && scripts/homeaudio_togglemute.pl -show", $retval);
 | 
			
		||||
   system("HOME=" . WEBUSERHOMEDIR . " && ../scripts/homeaudio_togglemute.pl -show", $retval);
 | 
			
		||||
} else {
 | 
			
		||||
   system("HOME=" . WEBUSERHOMEDIR . " && scripts/homeaudio_togglemute.pl", $retval);
 | 
			
		||||
   system("HOME=" . WEBUSERHOMEDIR . " && ../scripts/homeaudio_togglemute.pl", $retval);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$data = array();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user