[%- IF ajaxRequest -%]

    	[% PROCESS ajaxRequest.txt page = 'status' %][% PROCESS FBajaxRequest.txt page = 'status' %]

[%- ELSE -%] [%- FILTER null %] [% BLOCK spacer -%] [%- END %] [% BLOCK volumectl %] [% PROCESS spacer %] [% END %] [%- BLOCK progressOverlay -%]
[%- FOREACH jump = [1..20] -%]
[%- END -%]
[%- END -%] [%- BLOCK volumecontrol %] [% vols = { '2' => '0', '4' => '6', '6' => '12', '8' => '18', '10' => '24', '12' => '30', '14' => '36', '16' => '42', '18' => '48', '20' => '54', '22' => '60', '24' => '66', '26' => '72', '28' => '78', '30' => '84', '32' => '90', '34' => '95', '36' => '100', } %] [%- FOREACH level = vols.nsort.reverse %]
[% PROCESS volumectl vol = vols.$level %]
[% PROCESS volumectl vol = vols.$level %]
[% PROCESS volumectl vol = vols.$level %]
[%- END -%] [% END -%] [% BLOCK statectrl %] [% cmdstring | string | upper%] [% END %] [% BLOCK playctl %] [% END %] [% BLOCK remove %] [x] [% END %] [% END -%]
[% pagetitle = player_name %] [% PROCESS customheader.html %]
[% IF playercount == '0' %]
[% END %]
[% "CONNECTING_FOR" | string | upper %].
[% IF undock %] [% END %] [% IF sync %][% "UNSYNC" | string %] / [% END %] [% IF sleeptime %][% sleep %][% ELSE %][% "SLEEP" | string %][% END %] / [% IF not nosetup %][% "SETTINGS" | string %] [%- END -%] [%- IF not undock -%] / Undock [%- END %]
[%- IF NOT undock -%]
[% END %]
[%- PROCESS progressOverlay -%]
[% IF NOT undock %]
[% "CURRENT_PLAYLIST" | string %][% "COLON" | string %] [% IF current_playlist %][% current_playlist_name %] ([% IF myClientState; myClientState.playlist.size; END; %] [% "SONGS" | string %])[% IF current_playlist_modified %]([% "MODIFIED" | string %])[% END %][% END %]
[% img = '' %][% PROCESS savePlaylistLink %] / [% PROCESS downloadPlaylistLink %] / [% PROCESS clearPlaylistLink %]
[% END %] [% PROCESS pagefooter.html %] [% END %]