Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
Hi, I'm using Youtube-DL for a while and it's amazing, thanks to all of you for your hard work. I explain what is my request:
MY COMMAND
youtube-dl -i --extract-audio --audio-format mp3 --yes-playlist --embed-thumbnail --add-metadata --download-archive "/home/cesar/youtube-dl/downloads.txt" --output "/ home / cesar / youtube-dl /% (artist) s -% (tracking) s.% (ext) s" https://www.youtube.com/playlist?list=PLIB5Es9YVSMyH-euQKtfanO9qTP57Bg9H
CONFLICTIVE AREA:
--output "/ home / cesar / youtube-dl /% (artist) s -% (track) s.% (ext) s"
PROBLEM:
Each time you download a video that does not have metadata of% (track) or% (artist) s, the file is called NA - NA.mp3, so when you download another video without musical metadata, replace the previous file NA - NA .mp3
This problem is caused by the fact that although there are many music videos on YouTube, some do not have musical metadata.
REQUEST:
My request is that you can add a function similar to "if" to validate the -output in case a metadata does not exist in that way that can be replaced by another name, for example, if the name% (track) does not exist then it will be replaced by% (title).
EXAMPLE
--output "if (% track == 'NA') {"% (artist) s -% (track) s.% (ext) s "} else {"% (title) s.% (ext) s " }