diff --git a/Cargo.lock b/Cargo.lock index 9c4c8b6..0d09da7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 4 [[package]] name = "RythmWorks" -version = "0.1.0" +version = "0.2.0" dependencies = [ "reqwest", "semver", diff --git a/Cargo.toml b/Cargo.toml index 0edf395..cc4d767 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "RythmWorks" -version = "0.1.0" +version = "0.2.0" edition = "2024" [dependencies] diff --git a/README.md b/README.md index 4639397..3d42b82 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,12 @@ Please use the [getting started](#getting-started) section for instructions on h - Download [yt-dlp (Windows)](https://git.racooncity.org/brotoskyj/RhythmWorks/src/branch/master/assets/yt-dlp.exe) - Linux: - Download [yt-dlp (Linux)](https://git.racooncity.org/brotoskyj/RhythmWorks/src/branch/master/assets/yt-dlp) -6. Keep the bot running while you want music to play -7. **IMPORTANT - You will need to !stop the currently playing track or wait for the track to finish before you start playing a new song. If you don't, the two tracks will play overtop of each other** +7. Place these files in the same directory as RhythmWorks +8. Keep the bot running while you want music to play +9. **IMPORTANT - You will need to !stop the currently playing track or wait for the track to finish before you start playing a new song. If you don't, the two tracks will play overtop of each other** + +# Other Important Notes +1. In Windows 11, because of smartscreen and their extra security features, if the bot appears to hang once you do !play in discord, you might have to unblock yt-dlp. Right click on the file, click properties, and near the bottom uncheck the box that says this file came from the internet and is blocked ### Commands ``` diff --git a/src/main.rs b/src/main.rs index fbf6592..fe15726 100644 --- a/src/main.rs +++ b/src/main.rs @@ -105,7 +105,7 @@ impl EventHandler for Handler { } } }; - let output = Command::new("./assets/yt-dlp") + let output = Command::new("./yt-dlp") .args(["-f", "bestaudio", "-g", &url]) .stdout(Stdio::piped()) .output()