[% pagetitle = 'SongInfo' %] [% pageicon = 'SongInfo' %] [% pwd_list = BLOCK %] / [% "SONG_INFO" | string %] [% "FOR" | string %] [% itemobj.title | html %] [% END %] [% PROCESS pageheader.html %]
[% "PLAY_THIS_SONG" | string %]
[% FILTER nbsp %][% "ADD_THIS_SONG_TO_PLAYLIST" | string %][% END %]

- [% "TITLE" | string; "COLON" | string %]
  [% itemobj.title | html %]
[% FOREACH role = itemobj.contributorRoles.sort %] [% contributors = itemobj.contributorsOfType(role) %] [% IF contributors %]
- [% role | upper | string; "COLON" | string %]
  [% contributorsHTML = [] %]
  [% FOREACH contributor = contributors %] [% contributorHTMLFrag = "$contributor.name" %] [% contributorsHTML.push(contributorHTMLFrag) %] [% END %] [% contributorsHTML.join(', ') %]
[% END %] [% END %] [% IF itemobj.album %]
- [% "ALBUM" | string; "COLON" | string %]
  [% itemobj.album.title | html %]
[% END %] [% IF itemobj.genres %] [% genresHTML = [] %]
- [% "GENRE" | string; "COLON" | string %]
  [% FOREACH genre = itemobj.genres %] [% genreHTMLFrag = "$genre.name" %] [% genresHTML.push(genreHTMLFrag) %] [% END %] [% genresHTML.join(', ') %]
[% END %] [% IF itemobj.disc %]
- [% "DISC" | string; "COLON" | string %]
  [% itemobj.disc | html %]
[% END %] [% IF itemobj.tracknum %]
- [% "TRACK" | string; "COLON" | string %]
  [% itemobj.tracknum | html %]
[% END %] [% IF itemobj.album.compilation %]
- [% "COMPILATION" | string; "COLON" | string %]
  [% "YES" | string %]
[% END %] [% IF itemobj.content_type %]
- [% "TYPE" | string; "COLON" | string %]
  [% itemobj.content_type | string %]
[% END %] [% IF itemobj.duration %]
- [% "LENGTH" | string; "COLON" | string %]
  [% itemobj.duration | html %]
[% END %] [% IF itemobj.replay_gain.defined %]
- [% "REPLAYGAIN" | string; "COLON" | string %]
  [% itemobj.replay_gain | format('%2.2f') | html %] dB
[% END %] [% IF itemobj.album.replay_gain.defined %]
- [% "ALBUMREPLAYGAIN" | string; "COLON" | string %]
  [% itemobj.album.replay_gain | format('%2.2f') | html %] dB
[% END %] [% IF itemobj.year %]
- [% "YEAR" | string; "COLON" | string %]
  [% itemobj.year| html %]
[% END %] [% IF itemobj.rating %]
- [% "RATING" | string; "COLON" | string %]
  [% itemobj.rating %] /100
[% END %] [% IF comment %]
- [% "COMMENT" | string; "COLON" | string %]
  [% comment %]
[% END %] [% IF itemobj.lyrics %]
- [% "LYRICS" | string; "COLON" | string %]
  [% itemobj.lyrics | html_line_break | html_para %]
[% END %] [% IF filelength %]
- [% "FILELENGTH" | string; "COLON" | string %]
  [% filelength | html %] [% "BYTES" | string %]
[% END %] [% IF itemobj.prettyBitRate %]
- [% "BITRATE" | string; "COLON" | string %]
  [% itemobj.prettyBitRate | html %]
[% END %] [% IF itemobj.samplerate %]
- [% "SAMPLERATE" | string; "COLON" | string %]
  [% itemobj.prettySampleRate | html %]
[% END %] [% IF itemobj.samplesize %]
- [% "SAMPLESIZE" | string; "COLON" | string %]
  [% itemobj.samplesize | html %] [% "BITS" | string %]
[% END %] [% IF itemobj.bpm %]
- [% "BPM" | string; "COLON" | string %]
  [% itemobj.bpm | html %]
[% END %] [% IF itemobj.tagversion %]
- [% "TAGVERSION" | string; "COLON" | string %]
  [% itemobj.tagversion | html %]
[% END %] [% IF itemobj.path %]
- [% "LOCATION" | string; "COLON" | string %]
  [% itemobj.path | unuri | utf8decode | html %] ([% "DOWNLOAD" | string %])
[% END %] [% IF itemobj.modificationTime %]
- [% "MODTIME" | string; "COLON" | string %]
  [% itemobj.modificationTime | html %]
[% END %] [% IF itemobj.drm %]
- [% "NOTE" | string %]
  [% "DRM" | string %]
[% END %] [% IF itemobj.coverArt('cover', 1) %]
- [% "COVERART" | string; "COLON" | string %]
[% END %]

[% PROCESS pagefooter.html %]