From e3e055db8a3ccd7236c34e29fb3cd6d3ca520e02 Mon Sep 17 00:00:00 2001 From: Akatsuki Rui <3736910+akiirui@users.noreply.github.com> Date: Sat, 9 Sep 2023 03:19:25 +0800 Subject: [PATCH] docs: replace youtube-dl to yt-dlp --- Cargo.toml | 2 +- share/linux/config.toml | 2 +- share/linux/mpv-handler.desktop | 2 +- share/windows/config.toml | 2 +- src/config.rs | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 303468b..0e4dec2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "mpv-handler" version = "0.3.4" edition = "2021" authors = ["Akatsuki Rui "] -description = "Play website videos and songs with mpv & youtube-dl" +description = "Play website videos and songs with mpv & yt-dlp" license = "MIT" readme = "README.md" homepage = "https://github.com/akiirui/mpv-handler" diff --git a/share/linux/config.toml b/share/linux/config.toml index 31a2c32..a1be205 100644 --- a/share/linux/config.toml +++ b/share/linux/config.toml @@ -9,7 +9,7 @@ # ytdl = "/path/of/ytdl" # Optional, Type: String -# The path of youtube-dl binary +# The path of yt-dlp binary # Default value: # - Linux: yt-dlp # - Windows: yt-dlp.exe diff --git a/share/linux/mpv-handler.desktop b/share/linux/mpv-handler.desktop index 49a60c4..3c9fcd8 100644 --- a/share/linux/mpv-handler.desktop +++ b/share/linux/mpv-handler.desktop @@ -2,7 +2,7 @@ Type=Application Name=mpv-handler GenericName=Multimedia player -Comment=Play website videos and songs with mpv & youtube-dl +Comment=Play website videos and songs with mpv & yt-dlp NoDisplay=true Icon=mpv Exec=mpv-handler %u diff --git a/share/windows/config.toml b/share/windows/config.toml index 32de7e6..4a7c553 100644 --- a/share/windows/config.toml +++ b/share/windows/config.toml @@ -9,7 +9,7 @@ # ytdl = "C:\\path\\of\\yt-dlp.exe" # Optional, Type: String -# The path of youtube-dl binary +# The path of yt-dlp binary # Default value: # - Linux: yt-dlp # - Windows: yt-dlp.exe diff --git a/src/config.rs b/src/config.rs index cc260f6..57483de 100644 --- a/src/config.rs +++ b/src/config.rs @@ -4,8 +4,8 @@ use std::path::PathBuf; /// Config of mpv-handler /// -/// - `mpv`: mpv player binary path -/// - `ytdl`: Youtube-DL binary path +/// - `mpv`: mpv binary path +/// - `ytdl`: yt-dlp binary path /// - `proxy: HTTP(S) proxy server address #[derive(Debug, Deserialize)] pub struct Config {