-
Notifications
You must be signed in to change notification settings - Fork 10k
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 more metadata parsing options #9994
Comments
Eventually, do you request them to be parsed from somewhere as title states or to be provided in some from via option? Clarify and provide concrete use case examples. |
I don't know how extensive the changes to the whole system would be to cover all possible use cases, but for me personally, some small selection of transfer metadata fields would suffice: Though this might become very verbose quickly if it isn't implemented in a more or less generic way. Perhaps one way to alleviate this problem would rather be some form of metadata field key->value assignment flag that can be repeated: Either of those system should ideally, though not required for my personal use case, allow mixing static with field generated content, such as, e.g. filling a comment tag ála A super super low cost solution would finally be postponing the --metadata-from-title processing until after the filename has been written by the -o output template. This would allow clever people to just write extra data as part of the filename and then process it with --metadata-from-title. The end result would mostly work, but it would create some pretty ugly file names. |
Both approaches look clumsy. What I can think of is providing a JSON similar to |
I've got one more uploader who likes to put the genre of the song in the title, but not only is it embraced by unicode characters (【】), sometimes it's completely missing. Optional matching capability would be preferred for this reason. |
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --version
and ensure your version is 2016.07.03. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
Right now, the only way to include metadata is via parsing the title with --metadata-from-title. This requires a very deliberate and often not existent form of title formatting if you want more than just Artist and Title. Uploaders on often ommit everything past those two from the title for obvious brevity reasons.
My use case would be to allow/enable additional metadata fields to be set through data such as %(uploader)s, etc. which aren't part of the title. Often I want to download a bunch of files from a music aggregator and group them with an album tag with the uploader name, but this is currently impossible and needs to be done manually.
The text was updated successfully, but these errors were encountered: