diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-04-06 06:22:04 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-04-06 06:22:04 +0000 |
commit | 9ece92a2ef452665a197dbebafcabac1ad8b3b14 (patch) | |
tree | 97df3195265eefa3b741113ad5a5022681db3b03 /modules/localplay | |
parent | 065e228c184aa3043dbb93c701d8c2a8cfb05b1e (diff) | |
download | ampache-9ece92a2ef452665a197dbebafcabac1ad8b3b14.tar.gz ampache-9ece92a2ef452665a197dbebafcabac1ad8b3b14.tar.bz2 ampache-9ece92a2ef452665a197dbebafcabac1ad8b3b14.zip |
fix typos
Diffstat (limited to 'modules/localplay')
-rw-r--r-- | modules/localplay/mpd.controller.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/localplay/mpd.controller.php b/modules/localplay/mpd.controller.php index 19ceab70..5bb2f992 100644 --- a/modules/localplay/mpd.controller.php +++ b/modules/localplay/mpd.controller.php @@ -31,7 +31,7 @@ class AmpacheMpd { /* Constructed variables */ - $_mpd; + var $_mpd; /** * Constructor @@ -88,7 +88,7 @@ class AmpacheMpd { foreach ($songs as $song_id) { $song = new Song($song_id); $url = $song->get_url(); - if (is_null($this->_mpd->PlAdd($url)) { + if (is_null($this->_mpd->PlAdd($url))) { debug_event('mpd_add','Error: Unable to add $url to MPD ' . $this->_mpd->errStr,'1'); } @@ -117,7 +117,7 @@ class AmpacheMpd { */ foreach ($songs as $uid) { - if (is_null($this->_mpd->PLRemove($uid)) { $return = false; } + if (is_null($this->_mpd->PLRemove($uid))) { $return = false; } } // foreach of songs @@ -133,7 +133,7 @@ class AmpacheMpd { */ function play() { - if (is_null($this->_mpd->Play()) { return false; } + if (is_null($this->_mpd->Play())) { return false; } return true; @@ -146,7 +146,7 @@ class AmpacheMpd { */ function stop() { - if (is_null($this->_mpd->Stop()) { return false; } + if (is_null($this->_mpd->Stop())) { return false; } return true; |