Commit 19b63342 authored by Pierre SAGASPE's avatar Pierre SAGASPE Committed by Felix Paul Kühne

web intf: fix download link of the file.

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 8090858b
......@@ -177,7 +177,7 @@
duration = [self timeFormatted:[[(MLFile *)mo duration] integerValue]];
[mediaInHtml addObject:[NSString stringWithFormat:
@"<div style=\"background-image:url('thumbnail/%@.png')\"> \
<a href=\"%@\" class=\"inner\"> \
<a href=\"download/%@\" class=\"inner\"> \
<div class=\"down icon\"></div> \
<div class=\"infos\"> \
<span class=\"first-line\">%@</span> \
......@@ -209,7 +209,7 @@
duration = [self timeFormatted:[[(MLFile *)[[showEp files] anyObject] duration] integerValue]];
[mediaInHtml addObject:[NSString stringWithFormat:
@"<div style=\"background-image:url('thumbnail/%@.png')\"> \
<a href=\"%@\" class=\"inner\"> \
<a href=\"download/%@\" class=\"inner\"> \
<div class=\"down icon\"></div> \
<div class=\"infos\"> \
<span class=\"first-line\">S%@E%@ - %@</span> \
......@@ -244,7 +244,7 @@
duration = [self timeFormatted:[[file duration] integerValue]];
[mediaInHtml addObject:[NSString stringWithFormat:
@"<div style=\"background-image:url('thumbnail/%@.png')\"> \
<a href=\"%@\" class=\"inner\"> \
<a href=\"download/%@\" class=\"inner\"> \
<div class=\"down icon\"></div> \
<div class=\"infos\"> \
<span class=\"first-line\">%@</span> \
......@@ -277,7 +277,7 @@
duration = [self timeFormatted:[[(MLFile *)[[track files] anyObject] duration] integerValue]];
[mediaInHtml addObject:[NSString stringWithFormat:
@"<div style=\"background-image:url('thumbnail/%@.png')\"> \
<a href=\"%@\" class=\"inner\"> \
<a href=\"download/%@\" class=\"inner\"> \
<div class=\"down icon\"></div> \
<div class=\"infos\"> \
<span class=\"first-line\">%@</span> \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment