Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to embed metadata and thumbnail? #450

Open
foolab opened this issue Jun 8, 2024 · 2 comments
Open

How to embed metadata and thumbnail? #450

foolab opened this issue Jun 8, 2024 · 2 comments

Comments

@foolab
Copy link

foolab commented Jun 8, 2024

Hi,

Thank you for the great app :)

If I download a video manually using yt-dlp then I can pass --add-metadata --embed-thumbnai to embed the metadata and thumbnail into the resulting file.

How do I do that with metube? I checked ytdl options here https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/YoutubeDL.py#L183 but I am unable to figure out how to do it.

Any tips would be greatly appreciated.

@PikuZheng
Copy link
Contributor

PikuZheng commented Jun 8, 2024

yes.
set YTDL_OPTIONS

{
 "writethumbnail":true,
 "postprocessors":[
{"key":"FFmpegMetadata","add_metadata":"True"},
  {"key":"EmbedThumbnail"}
 ]
}

@foolab
Copy link
Author

foolab commented Jun 8, 2024

That is quite embarrassing. I was not aware it could be added like that. It works like a charm.

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants