summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-10 03:50:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-10 03:50:35 +0000
commitad05301d549924663370e447286f68b4c0ccdfde (patch)
tree500bb2a26c909b4ea0020a2e157bf89780d66230 /modules
parent29aca5c21898ad71bbb537bf533a8adf0e74978d (diff)
downloadampache-ad05301d549924663370e447286f68b4c0ccdfde.tar.gz
ampache-ad05301d549924663370e447286f68b4c0ccdfde.tar.bz2
ampache-ad05301d549924663370e447286f68b4c0ccdfde.zip
fixed the title on registration, and a bunch of random other things
Diffstat (limited to 'modules')
-rw-r--r--modules/localplay/mpd.controller.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/localplay/mpd.controller.php b/modules/localplay/mpd.controller.php
index a88e28aa..46ea9951 100644
--- a/modules/localplay/mpd.controller.php
+++ b/modules/localplay/mpd.controller.php
@@ -5,9 +5,8 @@
All Rights Reserved
This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 2
- of the License, or (at your option) any later version.
+ modify it under the terms of the GNU General Public License v2
+ as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -113,7 +112,7 @@ class AmpacheMpd {
foreach ($songs as $song_id) {
$song = new Song($song_id);
- $url = $song->get_url();
+ $url = $song->get_url(0,1);
if (is_null($this->_mpd->PlAdd($url))) {
debug_event('mpd_add','Error: Unable to add $url to MPD ' . $this->_mpd->errStr,'1');
}