summaryrefslogtreecommitdiffstats
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
parent585892e65fff2a16a71d7a19d5d00a1416b7e8d6 (diff)
downloadampache-784ccfd5cf54255f13ab849582df651e40de9503.tar.gz
ampache-784ccfd5cf54255f13ab849582df651e40de9503.tar.bz2
ampache-784ccfd5cf54255f13ab849582df651e40de9503.zip
added mimetype to XML for song objects
-rwxr-xr-xdocs/CHANGELOG4
-rw-r--r--lib/class/xmldata.class.php1
-rw-r--r--lib/init.php2
3 files changed, 6 insertions, 1 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG
index 0fbc228e..0b51f325 100755
--- a/docs/CHANGELOG
+++ b/docs/CHANGELOG
@@ -3,6 +3,10 @@
--------------------------------------------------------------------------
--------------------------------------------------------------------------
+ v.3-5-Alpha2
+ - Added Mime type to Song XML
+
+--------------------------------------------------------------------------
v.3.5-Alpha1 12/31/2008
- Fixed sort_files script so that it properly handles variable
album art file names in the directories
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" .
diff --git a/lib/init.php b/lib/init.php
index ff0bb862..9b11d8cc 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -86,7 +86,7 @@ if (!count($results)) {
}
/** This is the version.... fluf nothing more... **/
-$results['version'] = '3.5-Alpha1';
+$results['version'] = '3.5-Alpha2 Build (001)';
$results['int_config_version'] = '9';
$results['raw_web_path'] = $results['web_path'];