From fd05cf24254ee11087159b9f20531afa22c249b2 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Wed, 11 May 2022 18:56:36 -0500 Subject: [PATCH] Added example --- Tesses.YouTubeDownloader.Net6/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tesses.YouTubeDownloader.Net6/Program.cs b/Tesses.YouTubeDownloader.Net6/Program.cs index 38fb795..0c9128d 100644 --- a/Tesses.YouTubeDownloader.Net6/Program.cs +++ b/Tesses.YouTubeDownloader.Net6/Program.cs @@ -10,7 +10,7 @@ namespace Tesses.YouTubeDownloader.Net6 TYTDCurrentDirectory currentDirectory=new TYTDCurrentDirectory(new HttpClient()); TYTDServer server=new TYTDServer(currentDirectory); server.RootServer.Server=new StaticServer("WebSite"); - currentDirectory.CanDownload=false; + HttpServerListener listener=new HttpServerListener(new System.Net.IPEndPoint(System.Net.IPAddress.Any,3252),server.InnerServer); currentDirectory.StartLoop(); TYTDStorage.FFmpeg ="/usr/bin/ffmpeg";