Input: Pass --no-playlist for YoutubeDl (#168)
If a link such as [this](https://www.youtube.com/watch?v=ygY2qObZv24&list=RDygY2qObZv24) is passed to `YoutubeDl` without the option, it would cause a deadlock in my bot. There were many videos where it produced a `Silent` packet first instead of mixed or passthrough. The URL I added was one that produced a passthrough packet so I used that. Please let me know if this is wrong.
This commit is contained in:
@@ -3,7 +3,7 @@ use crate::constants::SAMPLE_RATE_RAW;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::{collections::HashMap, time::Duration};
|
||||
|
||||
#[derive(Deserialize, Serialize)]
|
||||
#[derive(Deserialize, Serialize, Debug)]
|
||||
pub struct Output {
|
||||
pub artist: Option<String>,
|
||||
pub album: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user