diff --git a/src/NadekoBot/Services/Impl/Ytdl.cs b/src/NadekoBot/Services/Impl/Ytdl.cs index c2c102d8..0ddebe6b 100644 --- a/src/NadekoBot/Services/Impl/Ytdl.cs +++ b/src/NadekoBot/Services/Impl/Ytdl.cs @@ -21,7 +21,7 @@ namespace NadekoBot.Services.Impl StartInfo = new ProcessStartInfo() { FileName = "youtube-dl", - Arguments = $"-f bestaudio -e --get-url --get-id --get-thumbnail --get-duration --no-check-certificate \"ytsearch:{url}\"", + Arguments = $"-f bestaudio -e --get-url --get-id --get-thumbnail --get-duration --no-check-certificate --default-search \"ytsearch:\" \"{url}\"", UseShellExecute = false, RedirectStandardError = true, RedirectStandardOutput = true, diff --git a/src/NadekoBot/Services/Music/SongBuffer.cs b/src/NadekoBot/Services/Music/SongBuffer.cs index 6664577e..e7a33a64 100644 --- a/src/NadekoBot/Services/Music/SongBuffer.cs +++ b/src/NadekoBot/Services/Music/SongBuffer.cs @@ -1,5 +1,4 @@ -using NadekoBot.DataStructures; -using NLog; +using NLog; using System; using System.Diagnostics; using System.IO;