[%# Plugins can provide their own songinfo links %] [% info_link = item.info_link || 'songinfo.html' %] [% item.album_id = item.album_id %] [% IF noPlaylistCover %] [% item.title | html %] [% IF item.includeAlbum && item.album.defined && item.album != noAlbum %] [% stringFROM %] [% IF item.album_id %] [% item.album | html %] [% ELSE %][% item.album | html %][% END %] [% END %] [% IF item.includeArtist %] [% IF item.artistsWithAttributes && item.artistsWithAttributes.0.name != noArtist %] [% stringBY %] [% FOREACH contributorTuple IN item.artistsWithAttributes %] [% contributorTuple.name | html %][% loop.last ? "" : ", " %] [% END %] [% ELSIF item.artist && item.artist != noArtist %] [% stringBY %] [% item.artist %] [% END %] [% END %] [%# remote_title is for radio streams %] [% IF item.remote_title %]
[% item.remote_title | html %] [% END %] [% ELSE %] [% IF item.album_id %][% END %] [% IF item.album_id %][% END %]
[% item.title | html %]
[% IF item.includeArtist; IF item.artistsWithAttributes && item.artistsWithAttributes.0.name != noArtist; FOREACH contributorTuple IN item.artistsWithAttributes; %][% contributorTuple.name | html %][% loop.last ? "" : ", " %][% END; ELSIF item.artist && item.artist != noArtist; item.artist; END; END %]
[% IF item.includeAlbum && item.album.defined && item.album != noAlbum %]
[% IF item.album_id %] [% item.album | html %] [% ELSE %][% item.album | html %][% END %]
[% END %] [%# remote_title is for radio streams %] [% IF item.remote_title %]
[% item.remote_title | html %]
[% END %] [% END %]
[% IF item.currentsong %][% END %]