4 Commits

Author SHA1 Message Date
Michał Czyż
8fadcaa232 Merge e20a98f378 into 66052e4f74 2024-08-16 14:35:55 +02:00
Michał Czyż
e20a98f378 chore: release 2024-08-16 14:35:51 +02:00
66052e4f74 chore: version bump to 0.10.6
Some checks failed
Rust / build (push) Has been cancelled
Release Plz / Release-plz (push) Has been cancelled
2024-08-16 14:33:37 +02:00
09b0d6fd9d fix: yt-dlp errors for playlist parsing 2024-08-16 14:33:22 +02:00
4 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.10.6](https://github.com/eRgo35/lyra/compare/v0.10.5...v0.10.6) - 2024-08-15 ## [0.10.7](https://github.com/eRgo35/lyra/compare/v0.10.6...v0.10.7) - 2024-08-16
### Other ### Other
- update Cargo.lock dependencies - update Cargo.lock dependencies

2
Cargo.lock generated
View File

@@ -1311,7 +1311,7 @@ dependencies = [
[[package]] [[package]]
name = "lyra" name = "lyra"
version = "0.10.6" version = "0.10.7"
dependencies = [ dependencies = [
"dotenv", "dotenv",
"json", "json",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "lyra" name = "lyra"
version = "0.10.6" version = "0.10.7"
authors = ["Michał Czyż <mike@c2yz.com>"] authors = ["Michał Czyż <mike@c2yz.com>"]
edition = "2021" edition = "2021"
description = "A featureful Discord bot written in Rust." description = "A featureful Discord bot written in Rust."

View File

@@ -132,6 +132,7 @@ async fn parse_data(data: String) -> VecDeque<String> {
.unwrap(); .unwrap();
let list = Command::new("yt-dlp") let list = Command::new("yt-dlp")
.args(["--username", "oauth2", "--password", "''"])
.args(["-j", "--flat-playlist", track]) .args(["-j", "--flat-playlist", track])
.output() .output()
.expect("Failed to execute process") .expect("Failed to execute process")