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.
%(ext)s broken in recent versions? #14382
Comments
|
|
Again,
No, it's not. Otherwise it will overwrite video with thumbnail under |
|
Sorry, I was very sure that it did behave this way but I must've gotten confused somehow with my shellscripts to believe that this behaviour has ever been part of youtube-dl. I guess I have to apologize for being so stubborn about it. To correct myself: |
Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
I'm using -o '%(ext)s/%(upload_date)s-%(title)s-%(id)s.%(ext)s' to group all files by format but in recent versions this seems to be broken somehow - all files are written into the same directory.
Current Output:
youtube-dl -o '%(ext)s/%(upload_date)s-%(title)s-%(id)s.%(ext)s' --write-thumbnail https://www.youtube.com/watch?v=afvnzFEIz4s
[...]
[youtube] afvnzFEIz4s: Writing thumbnail to: mp4/ 20170929-StarStarSpace #21 - Relativistischer Dopplereffekt-afvnzFEIz4s .jpg
[...]
[download] Destination: mp4/20170929-StarStarSpace #21 - Relativistischer Dopplereffekt-afvnzFEIz4s.f137.mp4
What I'd expect and what was happening before:
[youtube] afvnzFEIz4s: Writing thumbnail to: jpg/ 20170929-StarStarSpace #21 - Relativistischer Dopplereffekt-afvnzFEIz4s .jpg