[%# Page status.html %] [%- IF ajaxRequest -%]
	[% PROCESS ajaxRequest.txt page = 'status' %]
	
[%- ELSE -%] [% pagetitle = BLOCK %] [%- playermodel | string %] : [% "PLAYING" | string -%] [%- END -%] [%- pageicon = 'MUSIC' setup = '1' music = '0' playlist = '0' status = '1' -%] [% pageStyle = "style = 'background-color: black; color: white; -webkit-text-size-adjust:none;'" %] [% pageHeaderScripts = PROCESS StatusHeader %] [%- PROCESS iHeaderVert.html thispage = 'status' noShowBar = 1 -%] [% BLOCK StatusHeader %] [% END %]
[% INCLUDE empty_art_display %]
[% INCLUDE cover_art_display %]
[% INCLUDE playlist_display %]
[% INCLUDE player_controls %] [% INCLUDE player_name %]
[% trackstat = "PLUGIN_TRACKSTAT" | getstring %] [% has_trackstat = (trackstat != "PLUGIN_TRACKSTAT") %]
[% INCLUDE playlist_info_display %]
[% INCLUDE shuffle_settings %]
[% INCLUDE repeat_settings %]
[% INCLUDE progress_bar_display %] [% IF has_trackstat; INCLUDE trackstat_info_display; END %]
[% INCLUDE volume_settings %]
[%# PROCESS heightSpacer buffer = '243' %]
[%# /Page status.html %] [% END %] [% BLOCK repeat_settings %] [% "REPEAT" | string | ucfirst %] Off [% "REPEAT" | string | ucfirst %] Playlist [% "REPEAT" | string | ucfirst %] Song [% END %] [% BLOCK shuffle_settings %] [% "SHUFFLE" | string | ucfirst %] Off [% "SHUFFLE" | string | ucfirst %] Song [% "SHUFFLE" | string | ucfirst %] Album [% END %] [% BLOCK cover_art_display %] Cover [% END %] [% BLOCK empty_art_display %] Cover [% END %] [% BLOCK playlist_info_display %] [% "OUT_OF" | string %] [% END %] [% BLOCK song_info_display %]

[% END %] [% BLOCK radio_info_display %] [% "REMOTE_STREAMING" | string %]

[% END %] [% BLOCK progress_bar_display %]
0:00
[% END %] [% BLOCK trackstat_info_display %]
[% tc = 0; WHILE tc < 5; tc = tc + 1; %] [% END %]
[% END %] [% BLOCK player_controls %]
[% "ON" | string %] [% "OFF" | string %] [% [% [% [%
[% END %] [% BLOCK player_name %]
[%- USE Clients; players = Clients.get("id") -%] [% IF players.size > 1 %] [% FOREACH playerobj IN players %] [% IF player == playerobj.id %] [% IF playerobj.name %] [% playerobj.name %] [% ELSE %] [% player %] [% END %] [% END %] [% END %] [% END %]
[% END %] [% BLOCK volume_settings %]
[% IF isplayer %] [% ELSE %] volume settings not available for this player [% END %]
[% END %] [% BLOCK playlist_display %] [%# This is a hack... enter one line in playlist, other will be added in JS %] [% IF playlist_items.0 %] [% IF playlist_items.0.num %][% END %] [% item = playlist_items.0 %] [% IF item.num > 0 %] [% END %] [% END %]
[% item.num + 1 %] [% item.itemobj.title | truncate (40) %] [% item.itemobj.duration %]
[% END %] [% BLOCK playlist_display_full %] [% IF playlist_items.0.num %][% END %] [% FOREACH item = playlist_items %] [% IF item.num > 0 %] [%# ELSE %] [% END %] [% END %]
[% item.num + 1 %] [% item.itemobj.title | truncate (40) %] [% item.itemobj.duration %]
[% END %]