Fixed some links queueing random songs. closes #1368
This commit is contained in:
parent
3119a47007
commit
70f0f6af44
@ -21,7 +21,7 @@ namespace NadekoBot.Services.Impl
|
|||||||
StartInfo = new ProcessStartInfo()
|
StartInfo = new ProcessStartInfo()
|
||||||
{
|
{
|
||||||
FileName = "youtube-dl",
|
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,
|
UseShellExecute = false,
|
||||||
RedirectStandardError = true,
|
RedirectStandardError = true,
|
||||||
RedirectStandardOutput = true,
|
RedirectStandardOutput = true,
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using NadekoBot.DataStructures;
|
using NLog;
|
||||||
using NLog;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
Loading…
Reference in New Issue
Block a user