diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2011-06-28 14:50:41 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2011-06-28 14:50:41 -0400 |
commit | fb40835e42a5be92483192f83501cad909e72c79 (patch) | |
tree | c661c8a2ed6bd8cdc5af022dc50552cc8cecc5dc /lib/class/xmldata.class.php | |
parent | 1e05bfe554bb26c439fa19aa61ed692c858d773f (diff) | |
download | ampache-fb40835e42a5be92483192f83501cad909e72c79.tar.gz ampache-fb40835e42a5be92483192f83501cad909e72c79.tar.bz2 ampache-fb40835e42a5be92483192f83501cad909e72c79.zip |
Make the API return more data for songs
Diffstat (limited to 'lib/class/xmldata.class.php')
-rw-r--r-- | lib/class/xmldata.class.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/class/xmldata.class.php b/lib/class/xmldata.class.php index 6a91ef00..6d6b822f 100644 --- a/lib/class/xmldata.class.php +++ b/lib/class/xmldata.class.php @@ -446,6 +446,8 @@ class xmlData { $tag_string . "\t<track>$song->track</track>\n" . "\t<time>$song->time</time>\n" . + "\t<year>$song->year</year>\n" . + "\t<bitrate>$song->bitrate</bitrate>\n". "\t<mime>$song->mime</mime>\n" . "\t<url><![CDATA[" . Song::play_url($song->id) . "]]></url>\n" . "\t<size>$song->size</size>\n" . |