Compare commits

..

2 Commits

Author SHA1 Message Date
a4dcc0e0af Remove unneeded reference to getID3 2024-05-18 15:11:05 +00:00
82b6d32469 Switch togglemute to catch Mono Master channel 2024-05-18 14:57:41 +00:00
4 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,6 @@
<?php
require 'header.php';
require_once 'getid3/getid3.php';
$query = "SELECT songid FROM " . QUEUECONTENTSTABLE . " AS q LEFT JOIN " . SONGSTABLE . " AS s ON q.songid=s.id WHERE qid=:qid ORDER BY s.album, s.title";
$fields = array();

View File

@ -1,7 +1,6 @@
<?php
require 'header.php';
require_once 'getid3/getid3.php';
$query = "SELECT id, songid FROM " . INSTANTQTABLE . " ORDER BY id";
$sth = $globaldbh->prepare($query);

View File

@ -1,7 +1,6 @@
<?php
require 'header.php';
require_once 'getid3/getid3.php';
if ( isset($_REQUEST['debug']) ) {
$debug = true;

View File

@ -20,7 +20,7 @@ if ( $ARGV[0] eq "-show" ) {
}
$sound = `/usr/bin/amixer sget Master`;
$mute = trim(`/usr/bin/amixer sget Master | grep "Front Left:" | awk '{print \$6}'`);
$mute = trim(`/usr/bin/amixer sget Master | grep "Mono:" | awk '{print \$6}'`);
$sth = $dbh->prepare("SELECT value FROM settings WHERE parameter='CURVOLUME'");
$sth->execute();
if ( $sth->rows > 0 ) {