Getting yt-dlp to save metadata.json that looks like those from Open Video Downloader #478
Herkules97
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to make it look the same way as it does from OVD?
The default file for a video with yt-dlp is a mess without line breaks and a better sorting, like having the video title first not the video ID.
The OVD file isn't sorted in the way I probably want to make yt-dlp do, but it's not necessarily that I will use the exact command, because there is stuff in the OVD file that is missing that I still want like the video ID part, but it would at least be something to work from given that you already know this stuff instead of having to read it all myself and risk still not knowing how to set it up.
I presume it has something to do with --parse-metadata or/and --replace-in-metadata, how OVD gets it to look the way it does and what it contains.
I looked into the Issues section in case someone had asked it there, but only found that you used --add-metadata for the video file, this seems to already be the default behaviour of yt-dlp because I used it and the video file was the same as without it.
Either way it wouldn't change the external .json file.
Of course, I may not have looked enough.
I found https://github.com/jely2002/youtube-dl-gui/blob/282c93f2ea4f75d830f6f830eb7aa80f34ffd805/tests/test-settings.json
But I don't know how to use the text there to make the .json files similar, if it's even the same behaviour as what I am getting with OVD.
Not part of what I actually want to do, just curiosity, how do you get the metadata file to be called metadata_[video ID].json as the yt-dlp default seems to be [video title].json?
Beta Was this translation helpful? Give feedback.
All reactions