From 563916267d8f0a696229c4c57e0b4ba4f0e92122 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 1 Oct 2019 22:14:49 +0200 Subject: [PATCH] fix: Fix single format download --- templates/info.tpl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/templates/info.tpl b/templates/info.tpl index 23bf5c1..236d66a 100644 --- a/templates/info.tpl +++ b/templates/info.tpl @@ -20,8 +20,8 @@
-{if isset($video->formats)} -

+ {if isset($video->formats) && count($video->formats) > 1} +

{if $config->uglyUrls} {/if} @@ -89,11 +89,9 @@ {t}kbit/s audio{/t}

{/if} -
-
-{else} + {/if}
-{/if} + {include file="inc/footer.tpl"}