[% "CURRENT_PLAYLIST" | string %]
[%- IF pageinfo.totalpages > 1 %]
[%- FILTER indent(2) %]
[%- PROCESS pagebar pagebarid = 'topplaylistpagebar' %]
[%- END %]
[%- END %]
[%- IF playlist_items %]
[%- FILTER indent(2) %]
[%- WRAPPER contentcontainer listid = 'playlist' %]
[%- FOREACH item = playlist_items %]
[%- WRAPPER contentitem
lineclass = 'songline'
num = item.num
useStart = 1
controls = 'playlistcontrols'
odd = item.odd %]
[%- PROCESS trackinfo -%]
[%- END %]
[%- END %]
[%- END %]
[%- END %]
[%- ELSE %]
[%- END %]
[%- IF pageinfo.totalpages > 1 %]
[%- FILTER indent(2) %]
[%- PROCESS pagebar pagebarid = 'bottomplaylistpagebar' %]
[%- END %]
[%- END %]