Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Feature Request - Add playlist number to metadata #7393
Comments
|
make a bash script, grep/find the data you want from the manifest, pipe it to key "--add-metadata" |
|
Post an example url and explain what command you are using and what do you want it to do. |
|
Here's a URL of a YouTube playlist: https://www.youtube.com/watch?v=cgNXw8Qh67k&list=PLYwGqFKNm0YOgUAf9D-XpRAyDPripaXiB What I would like is for the first track to have the number 1 set as it's track number with the --add-metadata option, 2 for the second track, 3 for the third, you get the idea. |
|
I came here for a similar feature request. I'm downloading entire video playlists and I would like to have the option to have the number of the video appended to the beginning of the file name. So I can have them sorted by the sequence in the playlist. What I have in mind: |
|
@mohsend your request is unrelated and already implemented: output template, playlist_index. |
|
As @dsftw says, you can use |
|
@mohsend's question is different from @M-W99's. |
|
Sorry, didn't notice that. But what @M-W99 is asking for is still possible, if a extractor return a value for |
|
Whaat @M-W99 is not talking about is not |
|
My question is answered and the feature I wanted is already present. So closing would depend on @M-W99 's opinion. |
|
As far as I can determine, the original issue remains unresolved and mohsend's question was a bit of a highjack: he wanted to add numbers to the filename, M-W99 and I wanted to add track numbers to the metadata for each file. |
|
Opened pull request #14991 which I believe may support the OP request |
I've been using youtube-dl to download audio playlists. Instead of having to go through and manually add all the track numbers, it would be nice if youtube-dl could automatically add them to the file metadata.
(Not sure if this is the correct place to make a feature request, I'm not sure where else to put it.)