Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%(ext)s broken in recent versions? #14382

Closed
4 of 8 tasks
SebiderSushi opened this issue Oct 2, 2017 · 3 comments
Closed
4 of 8 tasks

%(ext)s broken in recent versions? #14382

SebiderSushi opened this issue Oct 2, 2017 · 3 comments
Labels

Comments

@SebiderSushi
Copy link

SebiderSushi commented Oct 2, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.10.01

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

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

@dstftw
Copy link
Collaborator

dstftw commented Oct 2, 2017

ext (string): Video filename extension
Video

@dstftw dstftw closed this as completed Oct 2, 2017
@dstftw dstftw added the invalid label Oct 2, 2017
@dstftw
Copy link
Collaborator

dstftw commented Oct 2, 2017

Again, ext is video extension and the behaviour was always the same. No such "old behavior" you are claiming ever existed.

Also if this was consistent it should do this:
[youtube] afvnzFEIz4s: Writing thumbnail to: mp4 /20170929-StarStarSpace #21 - Relativistischer Dopplereffekt-afvnzFEIz4s .mp4

No, it's not. Otherwise it will overwrite video with thumbnail under mp4 ext.

@SebiderSushi
Copy link
Author

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:
I would find it very useful if there was some attribute with the extension of the current file, so I could group my files into folders without any hassle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants