<song_id>[% itemobj.id %]</song_id> [% genres = itemobj.genres %] [% IF genres %] [% FOREACH genre = genres %] <genre_id>[% genre.id | html %]</genre_id> <genre>[% genre.name | html %]</genre> <genre_browse_url></genre_browse_url> [% END %] [% END %] [% FOREACH role = itemobj.contributorRoles.sort %] [% contributors = itemobj.contributorsOfType(role) %] [% IF contributors %] [% FOREACH contributor = contributors %] <[% role | lower %]_id>[% contributor.id | html %] <[% role | lower %]>[% contributor.name | html %] <[% role | lower %]_browse_url> [% END %] [% END %] [% END %] [% IF itemobj.album %] <album_id>[% itemobj.album.id | html %]</album_id> <album>[% itemobj.album.title | html %]</album> <album_browse_url></album_browse_url> [% END %] [% IF itemobj.tracknum %][% itemobj.tracknum | html %][% END %] [% IF itemobj.content_type %]<type>[% itemobj.content_type | string | html %]</type>[% END %] [% IF itemobj.duration %]<duration>[% itemobj.duration | html %]</duration>[% END %] [% IF itemobj.year %]<year>[% itemobj.year | html %]</year>[% END %] [% IF comment %]<comment>[% comment | html %]</comment>[% END %] [% IF filelength %]<filelength>[% filelength | html %]</filelength>[% END %] [% IF itemobj.bitrate %]<bitrate>[% itemobj.bitrate | html %]</bitrate>[% END %] [% IF itemobj.tagversion %]<tagversion>[% itemobj.tagversion | html %]</tagversion>[% END %] [% IF itemobj.modificationTime %]<modtime>[% itemobj.modificationTime | html %]</modtime>[% END %] <song_url></song_url> [% IF download %]<download_url></download_url>[% END %] <info_url></info_url> <path></path> [% IF itemobj.coverArt('cover', 1) %]<coverart></coverart>[% END %] [% IF mixable %]<mixable>[% mixable | html %]</mixable>[% END %]