diff --git a/ADBaseLibrary/AdobeHDS/FlashWrapper/DecryptForm.cs b/ADBaseLibrary/AdobeHDS/FlashWrapper/DecryptForm.cs index 67a94fb..77ef29c 100644 --- a/ADBaseLibrary/AdobeHDS/FlashWrapper/DecryptForm.cs +++ b/ADBaseLibrary/AdobeHDS/FlashWrapper/DecryptForm.cs @@ -60,10 +60,10 @@ private static void CreateComponent(object obj) string swf = Path.Combine(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "loader.swf"); if (File.Exists(swf)) form.axShock.LoadMovie(0, swf); - form.axShock.Stop(); - form.axShock.Dispose(); thscheduler= TaskScheduler.FromCurrentSynchronizationContext(); Application.Run(); + form.axShock.Stop(); + form.axShock.Dispose(); } public DecryptForm() { diff --git a/Plugins/DaiSukiPlugin/DaiSuki.cs b/Plugins/DaiSukiPlugin/DaiSuki.cs index 31087f0..eaa1636 100644 --- a/Plugins/DaiSukiPlugin/DaiSuki.cs +++ b/Plugins/DaiSukiPlugin/DaiSuki.cs @@ -598,7 +598,7 @@ public async Task Download(ISession session, Episode episode, string t token.ThrowIfCancellationRequested(); progress.Report(dp); string intermediatefile = dp.FullPath+ ".tm1"; - FragmentProcessor frag =new FragmentProcessor(ws.Cookies,headers, LibSet[UserAgentS], SocketTimeout, "http://img.daisuki.net/common2/pages/anime/swf/bngn_player_001.swf",null,3,5,intermediatefile); + FragmentProcessor frag =new FragmentProcessor(ws.Cookies,headers, LibSet[UserAgentS], SocketTimeout, "http://img.daisuki.net/common2/pages/anime/swf/bngn_player_001.swf", _info.ProxyFromGlobalRequirements(_global), 3,5,intermediatefile); double dbl = 91; IProgress d = new Progress((val) => {