chore: update dependencies and drop youtube-dl support in favor of yt-dlp

This commit is contained in:
nvrl committed 2026-03-22 12:07:07 +01:00
1 parent c75e9f41f7
commit 7ef2747b20
2 files changed
+16 -16

No files matched your search

+6 -4
View File
@@ -1,11 +1,13 @@
use thiserror::Error;
#[derive(Error, Debug)]
pub enum YoutubeDLError {
#[error("failed to execute youtube-dl")]
pub enum YtDlpError {
#[error("failed to execute yt-dlp: {0}")]
IOError(#[from] std::io::Error),
#[error("failed to convert path")]
#[error("failed to convert output to string: {0}")]
UTF8Error(#[from] std::string::FromUtf8Error),
#[error("youtube-dl exited with: {0}")]
#[error("failed to parse JSON: {0}")]
JsonError(#[from] serde_json::Error),
#[error("yt-dlp exited with error: {0}")]
Failure(String),
}