diff options
-rwxr-xr-x | docs/CHANGELOG | 1 | ||||
-rw-r--r-- | lib/class/xmldata.class.php | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG index 38b6267f..22b9011c 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -4,6 +4,7 @@ -------------------------------------------------------------------------- v.3.6-Alpha2 + - API now returns year and bitrate for songs - Fixed search_songs API method to use Search::run properly - Fixed require_session when auth_type is 'local' - Catalog filtering fix 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" . |