[% FILTER null %]
[% MACRO media_info(path, mp3) BLOCK %]
<span class="songtitle">
[% FILTER html %]
[% IF (mp3.artist && mp3.title) %]
[% mp3.artist | encoding %] - [% mp3.title | encoding %]
[% ELSE %]
[% USE file(path) %][% file.name.replace('\.mp3$', '') | encoding %]
[% END %]
[% END %]
</span>
<span class="songinfo">([% mp3.time %])</span>
[% END %]

[% USE uri = URL(script) %]

[% icons = config.get('icon_path') || 'icons' %]
[% END # FILTER null %]