How to download playlist in order with YouTube-dl

If you want to download a playlist of any sort and keep the playlist in order on your computer you can use this command.

You will want to replace the url portion with the url you want to download.

youtube-dl -i -o "%(playlist_index)s-%(title)s.%(ext)s" url

The parameter -i ensures that errors are ignored and that your download is not interrupted in any way forcing your to restart the process.