TYTD w api

This commit is contained in:
Michael Nolan 2021-12-07 22:39:03 -06:00
parent 250b6e03bd
commit d5cc6be2a5
9 changed files with 14 additions and 11 deletions

View File

@ -1,37 +1,40 @@
<Properties StartupConfiguration="{E26F8159-6B4B-4660-A7A4-D0333DFEF0DD}|Default" NuGet.AddPackagesDialog.IncludePrerelease="True"> <Properties StartupConfiguration="{E26F8159-6B4B-4660-A7A4-D0333DFEF0DD}|Default" NuGet.AddPackagesDialog.IncludePrerelease="True">
<MonoDevelop.Ide.Workbench ActiveDocument="TYTD.Api/Server/Models/SavedVideo.cs"> <MonoDevelop.Ide.Workbench ActiveDocument="youtube-downloader.csproj">
<Files> <Files>
<File FileName="TYTD.Api/Server/Models/InfoType.cs" Line="20" Column="16" /> <File FileName="TYTD.Api/Server/Models/InfoType.cs" Line="20" Column="16" />
<File FileName="TYTD.Api/Server/Functions/Downloader.cs" Line="51" Column="35" /> <File FileName="TYTD.Api/Server/Functions/Downloader.cs" Line="357" Column="23" />
<File FileName="TYTD.Api/Server/Models/SavedMedia.cs" Line="1" Column="1" /> <File FileName="TYTD.Api/Server/Models/SavedMedia.cs" Line="1" Column="1" />
<File FileName="TYTD.Api/Server/Models/SavedVideo.cs" Line="43" Column="6" /> <File FileName="TYTD.Api/Server/Models/SavedVideo.cs" Line="28" Column="10" />
<File FileName="TYTD.Api/Server/Models/InfomationQueueItem.cs" Line="9" Column="1" /> <File FileName="TYTD.Api/Server/Models/InfomationQueueItem.cs" Line="9" Column="1" />
<File FileName="TYTD.Api/Server/Functions/ffmpeg.cs" Line="5" Column="15" /> <File FileName="TYTD.Api/Server/Functions/ffmpeg.cs" Line="5" Column="15" />
<File FileName="Program.cs" Line="256" Column="32" /> <File FileName="Program.cs" Line="98" Column="30" />
<File FileName="TYTD.Api/MyClass.cs" Line="122" Column="34" /> <File FileName="TYTD.Api/MyClass.cs" Line="120" Column="8" />
<File FileName="TYTD.Api/Server/Models/SavedChannel.cs" Line="6" Column="10" /> <File FileName="TYTD.Api/Server/Models/SavedChannel.cs" Line="6" Column="10" />
<File FileName="TYTD.Api/Server/Models/SavedPlaylist.cs" Line="7" Column="1" /> <File FileName="TYTD.Api/Server/Models/SavedPlaylist.cs" Line="7" Column="1" />
<File FileName="TYTD.Api/Server/Models/VideoDownloadProgress.cs" Line="7" Column="16" /> <File FileName="TYTD.Api/Server/Models/VideoDownloadProgress.cs" Line="7" Column="16" />
<File FileName="youtube-downloader.csproj" Line="1" Column="1" />
</Files> </Files>
<Pads> <Pads>
<Pad Id="ProjectPad"> <Pad Id="ProjectPad">
<State name="__root__"> <State name="__root__">
<Node name="youtube-downloader" expanded="True"> <Node name="youtube-downloader" expanded="True">
<Node name="TYTD.Api" expanded="True"> <Node name="TYTD.Api" expanded="True">
<Node name="Packages" expanded="True" />
<Node name="Properties" expanded="True" />
<Node name="Server" expanded="True"> <Node name="Server" expanded="True">
<Node name="Functions" expanded="True" /> <Node name="Functions" expanded="True" />
<Node name="Models" expanded="True"> <Node name="Models" expanded="True" />
<Node name="SavedVideo.cs" selected="True" />
</Node>
</Node> </Node>
<Node name="MyClass.cs" selected="True" />
</Node>
<Node name="youtube-downloader" expanded="True">
<Node name="Packages" expanded="True" />
</Node> </Node>
<Node name="youtube-downloader" expanded="True" />
</Node> </Node>
</State> </State>
</Pad> </Pad>
</Pads> </Pads>
</MonoDevelop.Ide.Workbench> </MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.ItemProperties.TYTD.Api FirstBuild="True" />
<MonoDevelop.Ide.DebuggingService.PinnedWatches /> <MonoDevelop.Ide.DebuggingService.PinnedWatches />
<MonoDevelop.Ide.Workspace ActiveConfiguration="Release" /> <MonoDevelop.Ide.Workspace ActiveConfiguration="Release" />
<MonoDevelop.Ide.ItemProperties.youtube-downloader PreferredExecutionTarget="MonoDevelop.Default" /> <MonoDevelop.Ide.ItemProperties.youtube-downloader PreferredExecutionTarget="MonoDevelop.Default" />

View File

@ -113,7 +113,7 @@ namespace TYTD
internal static void Load(string dll,string confpath) internal static void Load(string dll,string confpath)
{ {
var asm=Assembly.LoadFile(dll); var asm=Assembly.LoadFrom(dll);
foreach(var item in asm.GetTypes()) foreach(var item in asm.GetTypes())
{ {
if(typeof(Api).IsAssignableFrom(item)) if(typeof(Api).IsAssignableFrom(item))

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.