[%- FILTER null %]
[% BLOCK statisticitemcontrols %]
[% PROCESS statisticitemcontrols65 %]
[% END %]
[% BLOCK statisticitemcontrols65 %]
[% WRAPPER addlink %][% PROCESS cmdHRef cmdType='add' target='status' itemobj=item.itemobj attributes=item.attributes %][% END %]
[% END %]
[% BLOCK ratingcontrols %]
[% loop = 0 %]
[% WHILE loop < pluginTrackStatMaxRating %]
[% loop = loop + 1 %]
[% IF pluginTrackStatMaxRating>5 %]
[% loop = loop + 1 %]
[% END %]
[% IF loop <= item.rating %]
[% IF item.listtype == 'track' and player!='' %]
[% ELSE %]
[% END %]
[% ELSE %]
[% IF item.listtype == 'track' and player!='' %]
[% ELSE %]
[% END %]
[% END %]
[% END %]
[% IF item.listtype == 'track' and player!=''%]
[% END %]
[% IF item.song_count %]([% item.song_count %])[% END %]
[% IF item.listtype != 'track' %]
[% item.ratingnumber %]
[% END %]
[% END %]
[% END -%]