From: David ‘Bombe’ Roden Date: Wed, 1 Aug 2012 04:39:06 +0000 (+0200) Subject: If there’s no codec, use the extension. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d44c2eeed5a841cd1553b643d860e4aa8eed37d1;p=demoscenemusic.git If there’s no codec, use the extension. --- 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