I'm trying to upload a complete playlist to YouTube, when I download, I want to enter the serial number when downloading in front of the video title,
For example, if there is a video in the playlist:
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 this gives me this error:
youtube-dl: error: using output template conflicts using title, video id or auto number
In addition, downloading the entire playlist and then renaming one by one is also not what I'm looking for.
Is there any command that downloads a playlist and renames each video nearby as per my wish?