youtube_dl - Overwritting metadata

I have managed to extract the title and artist using the --metadata-from-title option, but it seems that it does not overwrite if those metadata items already exist in the video file.

I'm am using:

py -3 -m youtube_dl -o "%(title)s.%(ext)s" -x --audio-format mp3 --audio-quality 320K --embed-thumbnail --add-metadata --metadata-from-title "%(artist)s ~ %(title)s" oLNMnOYEMAA 

Is this is a bug?

If not then is it possible to overwrite the existing values? I know that you can do it using the postprocessor-args command, but do not know if it is possible to pass the title and artist as parameters.

1 answer

  • answered 2020-02-19 05:07 kinshukdua

    From the youtube-dl github

    --metadata-from-title

    ...Parse additional metadata like song title / artist from the video title...

    The keyword being additional metadata, it's not supposed to remove or replace the existing just add the additional data if possible.

    I also looked through the known bugs and this was not one of them.