Generate required metadata for a YouTube video upload. This includes the video title, description, and tags.
At a minimum, support qualification matches, the double elimination playoff structure (sf{num}m1), and finals.
It should be easy to add additional match types and video title generators in the future.
Some validation should be included to prevent common mistakes, such as empty or null variables. Ideally, the user can preview the metadata in the frontend before starting the upload, so they know exactly what the results will be.
Given:
Generate required metadata for a YouTube video upload. This includes the video title, description, and tags.
At a minimum, support qualification matches, the double elimination playoff structure (
sf{num}m1
), and finals.Some validation should be included to prevent common mistakes, such as empty or null variables. Ideally, the user can preview the metadata in the frontend before starting the upload, so they know exactly what the results will be.