[%# Page home.html %] [%- FILTER null %] [% BLOCK menu %] [% PROCESS subtitle title=menutitle %]

[% IF menulist %] [% FOREACH item = orderlist %]
- [% item | getstring %]
[% END %] [% FOREACH link = menulist; IF !orderlist.grep(link.key).size %]
- [% link.key | getstring %]
[% END;END %] [% END %] [% FOREACH link = additionalmenu %]
- [% link.key | getstring %]
[% END %]

[% END %] [% pagetitle = "HOME" | string %] [% END -%] [% IF warn && !refresh; refresh = 30; refreshurl = webroot _ '?'; END; %] [%- PROCESS pageheader.html %] [% PROCESS menu menutitle='BROWSE_MUSIC' menulist=additionalLinks.browse %] [% IF additionalLinks.my_apps %] [% PROCESS menu menutitle='PLUGIN_MY_APPS_MODULE_NAME' menulist=additionalLinks.my_apps orderlist=additionalLinkOrder.my_apps %] [% END %] [% PROCESS menu menutitle='RADIO' menulist=additionalLinks.radios orderlist=additionalLinkOrder.radios additionalmenu = {'RADIO_TUNEIN' => 'tunein.html'} -%] [% PROCESS menu menutitle='SEARCH' menulist=additionalLinks.search orderlist={} additionalmenu={} %] [% IF additionalLinks.plugins %] [% PROCESS menu menutitle='PLUGINS' menulist=additionalLinks.plugins additionalmenu={} orderlist={} %] [% END %] [% PROCESS menu menutitle='HELP' menulist=additionalLinks.help %] [% IF warn && NOT pageHeaderInfo; pageHeaderInfo = BLOCK %] [% "NOTE" | string %] [% "HOME_SCAN_WARNING" | string %] ([% "SCANNER_PROGRESS" | string %]) [% END %] [% ELSIF album_count && NOT pageHeaderInfo; pageHeaderInfo = BLOCK %] [% album_count %] | [% song_count %] | [% artist_count %] [% END; END %] [% PROCESS pagefooter.html %] [%# /Page home.html %]