From d44c2eeed5a841cd1553b643d860e4aa8eed37d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 1 Aug 2012 06:39:06 +0200 Subject: [PATCH] =?utf8?q?If=20there=E2=80=99s=20no=20codec,=20use=20the?= =?utf8?q?=20extension.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/track | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/track b/src/main/resources/templates/track index aecf4b5..d0e8bc1 100644 --- a/src/main/resources/templates/track +++ b/src/main/resources/templates/track @@ -30,7 +30,7 @@ <%foreach track.derivatives derivative> -

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

+

<%ifnull derivative.properties.audio/codec><%derivative.properties.file/extension.toUpperCase><%else><%derivative.properties.audio/codec.shortName|html><%/if>

<%derivative.size|concise|html>B
-- 2.7.4