From: David ‘Bombe’ Roden Date: Sat, 28 Jul 2012 23:36:23 +0000 (+0200) Subject: Use short name of audio codec as file header, link to download. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e75638ca21bd3e74353fa4f6c6275df6200158ab;p=demoscenemusic.git Use short name of audio codec as file header, link to download. --- diff --git a/src/main/resources/templates/track b/src/main/resources/templates/track index ef8b2b3..a97a2ee 100644 --- a/src/main/resources/templates/track +++ b/src/main/resources/templates/track @@ -26,14 +26,10 @@ <%foreach track.derivatives derivative> -

<%ifnull !derivative.properties.file/original-name><%derivative.properties.file/original-name|html><%else>Unnamed File<%/if>

+

<%derivative.properties.audio/codec.shortName|html>

<%derivative.size|concise|html>B
- <%ifnull !derivative.properties.audio/codec> -
<%derivative.properties.audio/codec.name|html>
- <%/if> - <%ifnull !derivative.properties.media/bitrate>
<%derivative.properties.media/bitrate|html> kbps
<%/if>