From 73323e58ddf47dfa2bb0e334c37e939cfbd95a86 Mon Sep 17 00:00:00 2001 From: Lunarmagpie <65521138+Lunarmagpie@users.noreply.github.com> Date: Tue, 4 Jan 2022 08:45:39 -0500 Subject: [PATCH] Docs: added documentation for `yt-dlp` feature (#106) * Docs: added documentation for yt-dlp feature * Docs: remove trailing whitespace --- src/input/ytdl_src.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/input/ytdl_src.rs b/src/input/ytdl_src.rs index ba03dc8..1a389af 100644 --- a/src/input/ytdl_src.rs +++ b/src/input/ytdl_src.rs @@ -31,7 +31,8 @@ const YOUTUBE_DL_COMMAND: &str = if cfg!(feature = "youtube-dlc") { /// If you need looping or track seeking, then consider using /// [`Restartable::ytdl`]. /// -/// Uses `youtube-dlc` if the `"youtube-dlc"` feature is enabled. +/// `youtube-dlc` and `yt-dlp` are also useable by enabling the `youtube-dlc` +/// and `yt-dlp` features respectively. /// /// [`Restartable::ytdl`]: crate::input::restartable::Restartable::ytdl pub async fn ytdl(uri: impl AsRef) -> Result { @@ -169,7 +170,8 @@ pub(crate) async fn _ytdl_metadata(uri: &str) -> Result { /// If you need looping or track seeking, then consider using /// [`Restartable::ytdl_search`]. /// -/// Uses `youtube-dlc` if the `"youtube-dlc"` feature is enabled. +/// `youtube-dlc` and `yt-dlp` are also useable by enabling the `youtube-dlc` +/// and `yt-dlp` features respectively. /// /// [`Restartable::ytdl_search`]: crate::input::restartable::Restartable::ytdl_search pub async fn ytdl_search(name: impl AsRef) -> Result {