[%# Page status_header.html %] [%- title = BLOCK %] [%- playermodel | string %] : [% "PLAYING" | string -%] [%- END -%] [%- setup = '1' music = '0' playlist = '0' status = '1' -%] [%- PROCESS pageheader.html -%]
[% IF player_name %][% player_name %][% END %] [% IF sync %][% "SYNCHRONIZED_WITH" | string %] [% sync %][% "COLON" | string %][% END %] [% IF player_chooser_list %]
[% "CURRENT_PLAYER" | string %]
[% END %] [% IF modeplay %][% "PLAYING" | string %][% END %] [% IF modepause %][% "PAUSED_ON" | string %][% END %] [% IF modestop %][% "STOPPED_ON" | string %][% END %] [% IF currentsong %][% currentsong %] [% "OUT_OF" | string %]  [% songcount %] [% END %]

[% IF songtitle %][% songtitle %] [% END %] [% IF itemobj.artist %] [% "BY" | string %] [% itemobj.artist.name %][% END %] [% IF itemobj.album %] [% "FROM" | string %] [% itemobj.album.title %][% END %] [% IF year %] ([% year %])[% END %]

[% IF itemobj.coverArt && itemobj.album %]

[% END %]
[% IF modeplay %][% END %][% "PLAY" | string %][% IF modeplay %][% END %] [% IF modestop %][% END %][% "STOP" | string %][% IF modestop %][% END %] [% "PREV" | string %] [% "NEXT" | string %] [% IF modepause %][% END %][% "PAUSE" | string %][% IF modepause %][% END %]
[% "MUTE" | string %] [% IF mute %][% END %][% "MCON" | string %][% IF volume < '1' %][% END %]  [% IF NOT mute %][% END %][% "MCOFF" | string %][% IF volume > '0' %][% END %]
[% "REPEAT" | string %] [% FOREACH type = ['MCOFF','MCONE','MCALL'] %] [% IF repeat==loop.index %][% END %][% type | string %][% IF repeat==loop.index %][% END %][% IF !loop.last %] [% END %] [% END %]
[% "SHUFFLE" | string %] [% FOREACH type = ['MCOFF','SONG','ALBUM'] %] [% IF shuffle==loop.index %][% END %][% type | string %][% IF shuffle==loop.index %][% END %][% IF !loop.last %] [% END %] [% END %]
[% "POWER" | string %] [% IF mode != 'off' %][% END %][% "MCON" | string %][% IF mode != 'off' %][% END %]  [% IF mode == 'off' %][% END %][% "MCOFF" | string %][% IF mode == 'off' %][% END %]
[% PROCESS pagefooter.html %] [%# /Page status.html %]