summaryrefslogtreecommitdiffstats
path: root/modules/mpd
diff options
context:
space:
mode:
authorElias Probst <mail@eliasprobst.eu>2010-12-07 23:25:37 +0100
committerElias Probst <mail@eliasprobst.eu>2010-12-07 23:25:37 +0100
commit52a7f9c0d87cc3f3d95f5cd299eefe50b0972592 (patch)
treebb2e367847af13cbb26d2957ab4cba6522b8d090 /modules/mpd
parent7eb5e494dfe3e0137596750532a330422a00433b (diff)
downloadampache-52a7f9c0d87cc3f3d95f5cd299eefe50b0972592.tar.gz
ampache-52a7f9c0d87cc3f3d95f5cd299eefe50b0972592.tar.bz2
ampache-52a7f9c0d87cc3f3d95f5cd299eefe50b0972592.zip
Killed some leftover whitespaces.
Diffstat (limited to 'modules/mpd')
-rw-r--r--modules/mpd/mpd.class.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/mpd/mpd.class.php b/modules/mpd/mpd.class.php
index d5213020..9eb35187 100644
--- a/modules/mpd/mpd.class.php
+++ b/modules/mpd/mpd.class.php
@@ -342,7 +342,7 @@ class mpd {
$this->_error('QueueCommand', 'Not connected');
return false;
}
-
+
if (!$this->_command_queue) {
$this->_command_queue = self::COMMAND_START_BULK . "\n";
}
@@ -374,7 +374,7 @@ class mpd {
_error('SendCommandQueue', 'Not connected');
return false;
}
-
+
$this->_command_queue .= self::COMMAND_END_BULK . "\n";
$response = $this->SendCommand($this->_command_queue);
@@ -394,8 +394,8 @@ class mpd {
public function RefreshInfo() {
$stats = $this->SendCommand(self::COMMAND_STATISTICS, null, false);
$status = $this->SendCommand(self::COMMAND_STATUS, null, false);
-
-
+
+
if (!$stats || !$status) {
return false;
}
@@ -823,7 +823,7 @@ class mpd {
}
$response = $this->SendCommand(self::COMMAND_FIND, array($type, $string), false);
-
+
$results = false;
if ($response) {
@@ -888,7 +888,7 @@ class mpd {
if (!$response = $this->SendCommand(self::COMMAND_TABLE, $params, false)) {
return false;
}
-
+
$results = array();
$parsed = self::_parseResponse($response);
@@ -953,7 +953,7 @@ class mpd {
if (!$response) {
return false;
}
-
+
$results = array();
$counter = -1;
$lines = explode("\n", $response);