[% pagetitle = "HOME" | string %] [% pageicon = 'MUSIC' %] [% browse = '1' %] [% music = '1' %][% playlist = '0' %] [%- IF browse_radio -%] [%- thispage = 'radio' -%] [%- ELSE -%] [%- thispage = 'home' -%] [%- END -%] [%- IF ajaxRequest -%]
[% PROCESS ajaxRequest.txt page = thispage %]
        
[%- ELSE -%] [% title = 'SqueezeCenter'; homeString = 'Home'; goHomeURI = 'href = "' _ webroot _ 'home.html?player=' _ playerURI _ '"' %][%# %] [% PROCESS iHeaderVert.html noShowBar = 1 %]

Playing
 
[% PROCESS browseDatabase; %] [% PROCESS browseLists; %] [% PROCESS browseSettings; %] [% PROCESS browseRadio; %]
[% PROCESS playerChoose %] [%# END %]
[% PROCESS iFooterVert.html selectedButton = 5 classFooter = " selected = 'true' class = 'toolbar' " %] [%- END -%] [% BLOCK browseDatabase %]
[% orderByList = { 'album.titlesort' => 'ALBUM', 'album.year,album.titlesort' => 'SORT_YEARALBUM', 'album.year,contributor.namesort,album.titlesort' => 'SORT_YEARARTISTALBUM', 'contributor.namesort,album.titlesort' => 'SORT_ARTISTALBUM', 'contributor.namesort,album.year,album.titlesort' => 'SORT_ARTISTYEARALBUM', 'genre.namesort,album.titlesort' => 'SORT_GENREALBUM', 'genre.namesort,contributor.namesort,album.titlesort' => 'SORT_GENREARTISTALBUM', } %]
[% END %] [% BLOCK browseLists %]
[% END %] [% BLOCK playerChoose %] [% IF player_chooser_list %]
[% "CURRENT_PLAYER" | string %]
[% IF page %][% END %] [% IF playerid %][% END %]

[% ELSE %]
[%- USE Clients; players = Clients.get("id") -%] [% temp = '0'; FOREACH playerobj IN players %] [% IF player == playerobj.id; temp = '1'; %] [% "CURRENT_PLAYER" | string %] [% IF playerobj.name %][% playerobj.name %][% ELSE %][% player %][% END %]
[% END %] [% END %] [% IF !temp %] [% "CURRENT_PLAYER" | string %] [% "NONE" | string %]
[% END %]
[% END %] [% END %] [% BLOCK browseSettings %]
[% END %] [% BLOCK browseRadio %]
[% PROCESS tune_in_form %]


[% END %] [% BLOCK tune_in_form %]

[% 'RADIO_TUNEIN_RADIOURL' | string %]
[% END %] [%- BLOCK Old -%] [% IF additionalLinks.plugins %]
[% "PLUGINS" | string | upper %]
[% END %] [%- END -%] [% BLOCK library_stats %] [%# to add back in on a rainy day... %] [% IF song_count %] [% END %]
[% "ABOUT_SHORT" | string %] |  [% "SERVER_SETTINGS" | string %] |  [% "PLAYER_SETTINGS" | string %]
[% "LIBRARY_CONTAINS" | string %] [% album_count %] [% "WITH" | string %] [% song_count %] [% "BY" | string %] [% artist_count %].
[% END %]