change th code

This commit is contained in:
Demetria Lovato 2021-06-28 07:13:03 -07:00
parent 54f9a14c9a
commit 6de81f7fcd
7 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -502,6 +502,7 @@ namespace youtube_downloader.Server.Functions
List<SavedMedia> media = new List<SavedMedia>();
try
{
await DL.ytc.Search.GetVideosAsync(text).ForEachAsync((e) => {
foreach(var t in e.Thumbnails)
{

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.