Fix yt-dlp
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/tag/container Pipeline was successful Details

main v0.11.4
trivernis 5 months ago
parent 048d6a5cba
commit 9bfb35dbce
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

2
Cargo.lock generated

@ -4011,7 +4011,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tobi-rs"
version = "0.11.3"
version = "0.11.4"
dependencies = [
"animethemes-rs",
"aspotify",

@ -3,7 +3,7 @@ members=["bot-coreutils", "bot-database", "bot-database/migration", "."]
[package]
name = "tobi-rs"
version = "0.11.3"
version = "0.11.4"
authors = ["trivernis <trivernis@protonmail.com>"]
edition = "2018"
@ -21,7 +21,6 @@ serde_derive = "1.0.145"
serde = "1.0.145"
thiserror = "1.0.37"
minecraft-data-rs = "0.5.0"
songbird = "0.3.0"
serde_json = "1.0.86"
rand = "0.8.5"
regex = "1.6.0"
@ -44,6 +43,10 @@ tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
tracing = "0.1.37"
serenity-additions = "0.3.4"
[dependencies.songbird]
version = "0.3.0"
features = ["yt-dlp"]
[dependencies.tokio]
version = "1.21.2"
features = ["macros", "rt-multi-thread"]

@ -70,7 +70,7 @@ async fn youtube_dl(args: &[&str]) -> BotResult<String> {
}
THREAD_LOCK.fetch_add(1, Ordering::Relaxed);
let output = run_command_async("youtube-dl", args).await.map_err(|e| {
let output = run_command_async("yt-dlp", args).await.map_err(|e| {
THREAD_LOCK.fetch_sub(1, Ordering::Relaxed);
e
})?;

Loading…
Cancel
Save