summaryrefslogtreecommitdiffstats
path: root/lib/class/xmldata.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-18 17:34:22 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-18 17:34:22 +0000
commitd84e62dba716114b799a618cbfd2b14ec61ed1f9 (patch)
tree1dc58dc8636fd369d3862cb0048004fab19f2233 /lib/class/xmldata.class.php
parent5bd82180f5470c4ce255d02b7aa36c476db1cd99 (diff)
downloadampache-d84e62dba716114b799a618cbfd2b14ec61ed1f9.tar.gz
ampache-d84e62dba716114b799a618cbfd2b14ec61ed1f9.tar.bz2
ampache-d84e62dba716114b799a618cbfd2b14ec61ed1f9.zip
api fixes, added librefm scrobbler (untested) and fixed minor error in header file with rtl vs ltr languages also removed dead RioPlayer plugin
Diffstat (limited to 'lib/class/xmldata.class.php')
-rw-r--r--lib/class/xmldata.class.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/class/xmldata.class.php b/lib/class/xmldata.class.php
index c9a11112..5fa58e71 100644
--- a/lib/class/xmldata.class.php
+++ b/lib/class/xmldata.class.php
@@ -179,7 +179,6 @@ class xmlData {
$tags = array_splice($tags,self::$offset,self::$limit);
}
-
$string = '';
foreach ($tags as $tag_id) {
@@ -190,12 +189,11 @@ class xmlData {
"\t<albums>" . intval($counts['album']) . "</albums>\n" .
"\t<artists>" . intval($counts['artist']) . "</artists>\n" .
"\t<songs>" . intval($counts['songs']) . "</songs>\n" .
- "\t<videos>" . intval($counts['video']) . "</video>\n" .
+ "\t<videos>" . intval($counts['video']) . "</videos>\n" .
"\t<playlists>" . intval($count['playlist']) . "</playlists>\n" .
"\t<stream>" . intval($count['live_stream']) . "</stream>\n" .
"</tag>\n";
} // end foreach
-
$final = self::_header() . $string . self::_footer();