Function songbird::ytdl

source ·
pub async fn ytdl(uri: impl AsRef<str>) -> Result<Input>
Expand description

Creates a streamed audio source with youtube-dl and ffmpeg.

This source is not seek-compatible. If you need looping or track seeking, then consider using Restartable::ytdl.

youtube-dlc and yt-dlp are also useable by enabling the youtube-dlc and yt-dlp features respectively.