diff --git a/classes/Config.php b/classes/Config.php index 1f73e6b..be22a3e 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -38,7 +38,7 @@ class Config * * @var array */ - public $params = ['--no-warnings', '--ignore-errors']; + public $params = ['--no-warnings', '--ignore-errors', '--flat-playlist']; /** * Enable audio conversion. diff --git a/templates/playlist.tpl b/templates/playlist.tpl index 670bc36..f6c9f22 100644 --- a/templates/playlist.tpl +++ b/templates/playlist.tpl @@ -8,12 +8,20 @@

{foreach $video->entries as $video}
- -

{$video->title}

- webpage_url}">Download - {if count($video->formats) > 1} - webpage_url}">More options - {/if} +

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

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