From e75638ca21bd3e74353fa4f6c6275df6200158ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 29 Jul 2012 01:36:23 +0200 Subject: [PATCH] Use short name of audio codec as file header, link to download. --- src/main/resources/templates/track | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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> -- 2.7.4