Skip to content
Discussion options

You must be logged in to vote

The cover arts are read from embedded images in the music file itself or a cover.png/jpg/webp in the files directory. You need to instruct yt-dlp to download the image alongside the music data, see what rmpc does with its yt dlp integration for example

let mut command = Command::new("yt-dlp");
command.arg("-x");
command.arg("--embed-thumbnail");
command.arg("--embed-metadata");
command.arg("-f");
command.arg("bestaudio");
command.arg("--convert-thumbnails");
command.arg("jpg");
for arg in &self.extra_args {
command.arg(arg);
}
command.arg("--output");

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Krak9n
Comment options

Answer selected by Krak9n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants