diff --git a/templates/playlist.tpl b/templates/playlist.tpl index 84134b1..bd70a6a 100644 --- a/templates/playlist.tpl +++ b/templates/playlist.tpl @@ -9,26 +9,26 @@ {if $config->stream} webpage_url}" class="downloadBtn">Download everything {/if} -{foreach $video->entries as $video} +{foreach $video->entries as $entry}

- {if !isset($video->title)} - {if $video->ie_key == YoutubePlaylist} + {if !isset($entry->title)} + {if $entry->ie_key == YoutubePlaylist} Playlist {else} Video {/if} {else} - {$video->title} + {$entry->title} {/if}

- url}">{t}Download{/t} - url}">{t}More options{/t} + url}">{t}Download{/t} + url}">{t}More options{/t}
{/foreach}