[% IF itemobj.title %][% END %] [% FOREACH role = itemobj.contributorRoles.sort %] [% contributors = itemobj.contributorsOfType(role) %] [% IF contributors %] [% FOREACH contributor = contributors.sort %] <[% role %]>[% contributor.name | html %] [% END %] [% END %] [% END %] [% IF itemobj.album %] <album>[% itemobj.album.title | html %]</album> [% END %] [% genres = itemobj.genres %] [% IF genres %] [% FOREACH genre = genres %] <genre>[% genre.name | html %]</genre> [% END %] [% END %] [% IF itemobj.tracknum %][% itemobj.tracknum %][% END %] [% IF itemobj.content_type %]<type>[% itemobj.content_type %]</type>[% END %] [% IF itemobj.duration %]<duration>[% itemobj.duration | html %]</duration>[% END %] [% IF itemobj.year %]<year>[% itemobj.year %]</year>[% END %] [% IF comment %]<comment>[% comment | html %]</comment>[% END %] [% IF itemobj.lyrics %]<lyrics>[% itemobj.lyrics %]</lyrics>[% END %] [% IF filelength %]<filelength>[% filelength | html %]</filelength>[% END %] [% IF itemobj.prettyBitRate %]<bitrate>[% itemobj.prettyBitRate | html %]</bitrate>[% END %] [% IF itemobj.tagversion %]<tagversion>[% itemobj.tagversion | html %]</tagversion>[% END %] [% IF itemobj.modificationTime %]<modtime>[% itemobj.modificationTime | html %]</modtime>[% END %] <track_url></track_url> [% IF itemobj.url %]<path>[% itemobj.url | unuri | utf8on | html %]</path>[% END %] [% IF itemobj.coverArt('cover', 1) %]<coverart></coverart>[% END %] [% IF itemobj.musicmagic_mixable %]<musicmagic_mixable>[% itemobj.musicmagic_mixable | html %]</musicmagic_mixable>[% END %]