diff --git a/.vs/youtube-downloader/v16/.suo b/.vs/youtube-downloader/v16/.suo index 9fe42a4..d8a90b5 100644 Binary files a/.vs/youtube-downloader/v16/.suo and b/.vs/youtube-downloader/v16/.suo differ diff --git a/Server/Functions/Downloader.cs b/Server/Functions/Downloader.cs index 2bff625..57ebdbd 100644 --- a/Server/Functions/Downloader.cs +++ b/Server/Functions/Downloader.cs @@ -502,6 +502,7 @@ namespace youtube_downloader.Server.Functions List media = new List(); try { + await DL.ytc.Search.GetVideosAsync(text).ForEachAsync((e) => { foreach(var t in e.Thumbnails) { diff --git a/Server/Functions/ffmpeg.cs b/Server/Functions/ffmpeg.cs index f47e444..5192176 100644 --- a/Server/Functions/ffmpeg.cs +++ b/Server/Functions/ffmpeg.cs @@ -37,8 +37,8 @@ namespace youtube_downloader.Server.Functions { using (var p = new Process()) { - p.StartInfo.FileName = FFMPEG; - p.StartInfo.Arguments = $"-i \"{tnail}\" \"{p2}\""; + p.StartInfo.FileName = "/bin/bash"; + p.StartInfo.Arguments = $"\"{Downloader.DL.GetPath(true, "thumbs")}\" \"{tnail}\" \"{p2}\""; p.StartInfo.UseShellExecute = false; p.StartInfo.CreateNoWindow = true; p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; diff --git a/bin/Debug/youtube-downloader.exe b/bin/Debug/youtube-downloader.exe index 94d3b13..117d686 100644 Binary files a/bin/Debug/youtube-downloader.exe and b/bin/Debug/youtube-downloader.exe differ diff --git a/bin/Debug/youtube-downloader.pdb b/bin/Debug/youtube-downloader.pdb index 7d56840..36f6a4b 100644 Binary files a/bin/Debug/youtube-downloader.pdb and b/bin/Debug/youtube-downloader.pdb differ diff --git a/obj/Debug/youtube-downloader.exe b/obj/Debug/youtube-downloader.exe index 94d3b13..117d686 100644 Binary files a/obj/Debug/youtube-downloader.exe and b/obj/Debug/youtube-downloader.exe differ diff --git a/obj/Debug/youtube-downloader.pdb b/obj/Debug/youtube-downloader.pdb index 7d56840..36f6a4b 100644 Binary files a/obj/Debug/youtube-downloader.pdb and b/obj/Debug/youtube-downloader.pdb differ