summaryrefslogtreecommitdiffstats
path: root/modules/httpq/httpqplayer.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-04 05:58:00 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-04 05:58:00 +0000
commit674337dfc715ddf39b3ca7cd307c66052f6f8674 (patch)
treea6de985bc39d04ae65a7afbce92936298ae961d2 /modules/httpq/httpqplayer.class.php
parentdf608880b797ceb6c2683d956dda1bf249b7897f (diff)
downloadampache-674337dfc715ddf39b3ca7cd307c66052f6f8674.tar.gz
ampache-674337dfc715ddf39b3ca7cd307c66052f6f8674.tar.bz2
ampache-674337dfc715ddf39b3ca7cd307c66052f6f8674.zip
fixed a few broken httpq functions
Diffstat (limited to 'modules/httpq/httpqplayer.class.php')
-rw-r--r--modules/httpq/httpqplayer.class.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/httpq/httpqplayer.class.php b/modules/httpq/httpqplayer.class.php
index 094626bc..4c8b72d2 100644
--- a/modules/httpq/httpqplayer.class.php
+++ b/modules/httpq/httpqplayer.class.php
@@ -161,7 +161,7 @@ class HttpQPlayer {
* pause
* toggle pause mode on current song
*/
- function pause() {
+ public function pause() {
$args = array();
$results = $this->sendCommand("pause", $args);
@@ -176,10 +176,10 @@ class HttpQPlayer {
* stop
* stops the current song amazing!
*/
- function stop() {
+ public function stop() {
$args = array();
- $results = $this->sendCommand('fadeoutandstop', $args);
+ $results = $this->sendCommand('stop', $args);
if ($results == '0') { $results = null; }
@@ -191,7 +191,7 @@ class HttpQPlayer {
* repeat
* This toggles the repeat state of HttpQ
*/
- function repeat($value) {
+ public function repeat($value) {
$args = array('enable'=>$value);
$results = $this->sendCommand('repeat',$args);
@@ -206,7 +206,7 @@ class HttpQPlayer {
* random
* this toggles the random state of HttpQ
*/
- function random($value) {
+ public function random($value) {
$args = array('enable'=>$value);
$results = $this->sendCommand('shuffle',$args);