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

youtube-dl: error: no such option: --metadata-from-title #5986

Closed
petercz1 opened this issue Jun 15, 2015 · 3 comments
Closed

youtube-dl: error: no such option: --metadata-from-title #5986

petercz1 opened this issue Jun 15, 2015 · 3 comments

Comments

@petercz1
Copy link

@petercz1 petercz1 commented Jun 15, 2015

I have the above error. Full line is as follows:

youtube-dl --extract-audio --audio-format mp3 --ignore-errors -o "%(title)s.%(ext)s" --add-metadata --metadata-from-title "%(artist)s - %(title)s" URL

I've also tried it stripped back to:

youtube-dl --add-metadata --metadata-from-title "%(artist)s - %(title)s" URL

but with no luck. Current version of youtube-dl is 2015.02.28 running on Ubuntu Mate 15.04

It works if I leave out the --metadata-from-title option.

Any ideas what I could be doing wrong?

PC

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 15, 2015

This option is added since March 15th (#5125). Please update your copy of youtube-dl. The update instructions may help.

@yan12125 yan12125 closed this Jun 15, 2015
@petercz1
Copy link
Author

@petercz1 petercz1 commented Jun 15, 2015

Ok, just uninstalled youtube-dl and sudo apt-get install youtube-dl installs version 2015.02.28 as before.

Sudo apt-get upgrade youtube-dl says:

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I still get the same error:

youtube-dl: error: no such option: --metadata-from-title

Any ideas? All help much appreciated...

@petercz1
Copy link
Author

@petercz1 petercz1 commented Jun 15, 2015

Aha! ok, uninstalled youtube-dl, reinstalled using:

sudo curl https://yt-dl.org/latest/youtube-dl -o /usr/bin/youtube-dl

but note the removal of /local/ inthe path, and then:

sudo chmod a+rx /usr/bin/youtube-dl

again removing /local/ from the path, and it now works!

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.