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

Adding genre? #8384

Closed
xxsashixx opened this issue Jan 31, 2016 · 7 comments
Closed

Adding genre? #8384

xxsashixx opened this issue Jan 31, 2016 · 7 comments
Labels

Comments

@xxsashixx
Copy link

@xxsashixx xxsashixx commented Jan 31, 2016

Hello!

Love your script!

Would there be any chance on adding %genre to the list of support formats for id3tagging/metadata?

The video in question has Genre - Artist - Title and I would love it if I could do metadata from title with %genre

Thanks!

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 31, 2016

Read this and provide more context.

@xxsashixx
Copy link
Author

@xxsashixx xxsashixx commented Jan 31, 2016

So theres a bunch of videos that I would like to download with metadata

The video titles is as follows

Genre - Artist - Title

I am wanting to do something like this
youtube-dl -f 140 -o %(title)s.%(ext)s" urlhere --metadata-from-title "%(genre)s - %(artist)s - %(title)s"

however %genre isnt supported?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 31, 2016

  1. Post an example URL.
  2. How do you know it's "genre - artists - title" but not "artists - title - with - dashes"?
@xxsashixx
Copy link
Author

@xxsashixx xxsashixx commented Jan 31, 2016

  1. https://www.youtube.com/watch?v=_o8kyhNqj9A
  2. Because all the videos that have been uploaded are in that sequence Genre - Artist - Title
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 31, 2016

None of these videos are in format "genre - artist - title" but "【genre】artist - title".

@dstftw dstftw added the request label Jan 31, 2016
@xxsashixx
Copy link
Author

@xxsashixx xxsashixx commented Jan 31, 2016

However.. is there anyway to add %genre to the list of metadata format/options?

I've been doing --restrict-filenames to not parse them

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 1, 2016

This feature will be available in the next version via --metadata-from-title '【%(genre)s】%(artist)s - %(track)s' --add-metadata.

@dstftw dstftw closed this May 1, 2016
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.