Fixed some links queueing random songs. closes #1368

This commit is contained in:
Master Kwoth 2017-07-10 21:08:11 +02:00
parent 3119a47007
commit 70f0f6af44
2 changed files with 2 additions and 3 deletions

View File

@ -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,

View File

@ -1,5 +1,4 @@
using NadekoBot.DataStructures;
using NLog;
using NLog;
using System;
using System.Diagnostics;
using System.IO;