Added example
This commit is contained in:
parent
5e1793d463
commit
fd05cf2425
|
@ -10,7 +10,7 @@ namespace Tesses.YouTubeDownloader.Net6
|
||||||
TYTDCurrentDirectory currentDirectory=new TYTDCurrentDirectory(new HttpClient());
|
TYTDCurrentDirectory currentDirectory=new TYTDCurrentDirectory(new HttpClient());
|
||||||
TYTDServer server=new TYTDServer(currentDirectory);
|
TYTDServer server=new TYTDServer(currentDirectory);
|
||||||
server.RootServer.Server=new StaticServer("WebSite");
|
server.RootServer.Server=new StaticServer("WebSite");
|
||||||
currentDirectory.CanDownload=false;
|
|
||||||
HttpServerListener listener=new HttpServerListener(new System.Net.IPEndPoint(System.Net.IPAddress.Any,3252),server.InnerServer);
|
HttpServerListener listener=new HttpServerListener(new System.Net.IPEndPoint(System.Net.IPAddress.Any,3252),server.InnerServer);
|
||||||
currentDirectory.StartLoop();
|
currentDirectory.StartLoop();
|
||||||
TYTDStorage.FFmpeg ="/usr/bin/ffmpeg";
|
TYTDStorage.FFmpeg ="/usr/bin/ffmpeg";
|
||||||
|
|
Loading…
Reference in New Issue