summaryrefslogtreecommitdiffstats
path: root/lib/class/xmldata.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-01-25 17:36:10 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-01-25 17:36:10 +0000
commit784ccfd5cf54255f13ab849582df651e40de9503 (patch)
treefdad02f1707d2686f43a6312f012f51a7302781f /lib/class/xmldata.class.php
parent585892e65fff2a16a71d7a19d5d00a1416b7e8d6 (diff)
downloadampache-784ccfd5cf54255f13ab849582df651e40de9503.tar.gz
ampache-784ccfd5cf54255f13ab849582df651e40de9503.tar.bz2
ampache-784ccfd5cf54255f13ab849582df651e40de9503.zip
added mimetype to XML for song objects
Diffstat (limited to 'lib/class/xmldata.class.php')
-rw-r--r--lib/class/xmldata.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/class/xmldata.class.php b/lib/class/xmldata.class.php
index 1b478df7..f4087edf 100644
--- a/lib/class/xmldata.class.php
+++ b/lib/class/xmldata.class.php
@@ -278,6 +278,7 @@ class xmlData {
"\t<genre id=\"$song->genre\"><![CDATA[$song->genre]]></genre>\n" .
"\t<track>$song->track</track>\n" .
"\t<time>$song->time</time>\n" .
+ "\t<mime>$song->mime</mime>\n" .
"\t<url><![CDATA[" . $song->get_url($_REQUEST['auth']) . "]]></url>\n" .
"\t<size>$song->size</size>\n" .
"\t<art><![CDATA[" . $art_url . "]]></art>\n" .