[% IF query %] [%# Add the search query to each link if available %] [% searchquery = 'query=' _ query _ '&' %] [% END %] [% FILTER null %] [% pwd_list = []; FOREACH crumb IN crumb; crumbItem = BLOCK %] [% crumb.name %] [% END %] [% pwd_list.push(crumbItem) %] [% END %] [% END # filter -%] [% PROCESS header.html clink="4" %]
[%- IF hasPagebar ; PROCESS pagebar ; END %] [% "RADIO" | string %] / [% PROCESS crumblist %] /
[% IF msg %]

[% msg %]

[% END %] [% IF streaminfo %]

[% IF streaminfo.item.image %]
[% END %]
[% "TITLE" | string; "COLON" | string %] | [% (streaminfo.item.name || streaminfo.item.title) | html %]
[% IF streaminfo.item.subtitle %]
[% "XML_SUBTITLE" | string; "COLON" | string %] | [% streaminfo.item.subtitle | html %]
[% END %] [% IF streaminfo.item.pubdate %]
[% "XML_DATE" | string; "COLON" | string %] | [% streaminfo.item.pubdate | html %]
[% END %] [% IF streaminfo.item.url %]
[% "URL" | string; "COLON" | string %] | [% streaminfo.item.url | html %]
[% END %] [% IF streaminfo.item.description %]
[% "DESCRIPTION" | string; "COLON" | string %] | [% streaminfo.item.description | html %]
[% END %] [% IF streaminfo.item.summary %]
[% "XML_SUMMARY" | string; "COLON" | string %] | [% streaminfo.item.summary | html %]
[% END %] [% IF streaminfo.item.link %]
[% END %] [% IF streaminfo.item.enclosure %]
[% "XML_LINK" | string; "COLON" | string %] | [% streaminfo.item.link | html %]
[% "XML_ENCLOSURE" | string; "COLON" | string %] | [% streaminfo.item.enclosure.url | html %] [% FILTER format('%.2f'); streaminfo.item.enclosure.length / 1048576; END %] MB
[% END %] [% IF streaminfo.item.duration %]
[% "LENGTH" | string; "COLON" | string %] | [% streaminfo.item.duration | html %]
[% END %] [% IF streaminfo.item.explicit %]
[% "XML_EXPLICIT" | string; "COLON" | string %] | [% streaminfo.item.explicit | html %]
[% END %] [% IF streaminfo.item.bitrate %]
[% "BITRATE" | string; "COLON" | string %] | [% streaminfo.item.bitrate | html %] [% "KBPS" | string %]
[% END %] [% IF streaminfo.item.listeners %]
[% "NUMBER_OF_LISTENERS" | string; "COLON" | string %] | [% streaminfo.item.listeners | html %]
[% END %] [% IF streaminfo.item.current_track %]
[% "NOW_PLAYING" | string; "COLON" | string %] | [% streaminfo.item.current_track | html %]
[% END %] [% IF streaminfo.item.genre %]
[% "GENRE" | string; "COLON" | string %] | [% streaminfo.item.genre | html %]
[% END %] [% IF streaminfo.item.source %]
[% "SOURCE" | string; "COLON" | string %] | [% streaminfo.item.source | html %]
[% END %]

[% IF streaminfo.item.enclosure || streaminfo.item.url %]
[% END %] [% END %] [% IF search %]

[% END %] [%- IF items -%]

[% IF itemsHaveAudio %]
| [% "ALL_SONGS" | string %]
[% END %] [%- FOREACH item = items %]
[% IF item.type == 'audio' || item.enclosure %] [% ELSE %] [% END %] | [% item.name || item.title %]
[%- END -%]

[% END %]