I am trying to download a complete playlist in youtube, while downloading i want to enter serial number while downloading in front of the title of the video,
For example if a playlist has a videos:
A.mp4
E.mp4
K.mp4
C.mp4
B.mp4
I want it to be
1. A.mp4
2. E.mp4
3. K.mp4
4. C.mp4
5. B.mp4.
I tried commands like:
i=0;youtube-dl -cti https://www.youtube.com/playlist?list={(Any Playlist)} -o "{{$i++}%(title)s.%(ext)s}"
but its giving me this error:
youtube-dl: error: using output template conflicts with using title, video ID or auto number
Also, Downloading the whole playlist and then renaming one by one is also not i am searching.
Is there any command which downloads the playlist and renames each video side by side according to my wish?