Function songbird::ytdl[][src]

pub async fn ytdl(uri: &str) -> Result<Input>

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.

Uses youtube-dlc if the "youtube-dlc" feature is enabled.