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.
youtube-dl does not remove .m4a file when --add-metadata is invoked #2399
Comments
|
As requested, here is the output of both with the --verbose flag added: Without --add-metadata:
With --add-metada:
As you can see, the "delete" command is never issued. In practice, I can solve this trivially myself by adding "rm *.m4a" to my script, but I thought I'd surface it anyway. Thanks for making such a super useful tool! |
|
Thanks for detailed report!, you're right, the m4a file should be removed . There's already an open issue: #2261, so I'm closing this one (you can subscribe to the other issue to get the updates). |
|
Thanks Jaime! |
I have been using youtube-dl to rip audio from youtube channels I like. I noticed what I am assuming to be a bug, however, when I tried to add metadata to improve my ID3 tags.
Simply put, when I run:
youtube-dl http://www.youtube.com/watch?v=P7ZL5EP7FTE -itw --extract-audio --audio-format mp3 --audio-quality 0The original m4a file is deleted when the conversion to mp3 is complete.
However, when I run:
youtube-dl http://www.youtube.com/watch?v=P7ZL5EP7FTE -itw --extract-audio --audio-format mp3 --audio-quality 0 --add-metadatait is not deleted when the conversion is complete.