Compare commits

..

No commits in common. "a4dcc0e0af4c9af6486fdbc581b02fe02db0d938" and "f42e2fb87a45618d720c5db0e244995fd56d28f9" have entirely different histories.

4 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<?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,6 +1,7 @@
<?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,6 +1,7 @@
<?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 "Mono:" | awk '{print \$6}'`);
$mute = trim(`/usr/bin/amixer sget Master | grep "Front Left:" | awk '{print \$6}'`);
$sth = $dbh->prepare("SELECT value FROM settings WHERE parameter='CURVOLUME'");
$sth->execute();
if ( $sth->rows > 0 ) {