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

Add option for custom metadata #17027

Open
srussel opened this issue Jul 21, 2018 · 0 comments
Open

Add option for custom metadata #17027

srussel opened this issue Jul 21, 2018 · 0 comments

Comments

@srussel
Copy link

@srussel srussel commented Jul 21, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

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

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
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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 would like to be able to add additional metadata to the video file. For example currently I can do:

youtube-dl --add-metadata --merge-output-format mkv https://www.youtube.com/watch?v=iqKdEhx-dD4

to capture the metadata. I would also like to be able to capture some of the extra fields that can be used in the filename template such as series/season/episode.

An example of what the option could look like is:

youtube-dl --add-metadata --custom-metadata "SERIES=%(series)" --custom-metadata "SEASON=%(season)" --custom-metadata "EPISODE=%(episode)" --merge-output-format mkv https://www.youtube.com/watch?v=iqKdEhx-dD4

and then in the postprocessor include the custom metadata with the -metadata option.

@xperia64 xperia64 mentioned this issue Mar 2, 2019
6 of 9 tasks complete
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
1 participant
You can’t perform that action at this time.