Skip to content

Commit

Permalink
Fixed Daisuki bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpiva committed Sep 8, 2015
1 parent 8336733 commit 1d0e46b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ADBaseLibrary/AdobeHDS/FlashWrapper/DecryptForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion Plugins/DaiSukiPlugin/DaiSuki.cs
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ public async Task<Response> 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<double> d = new Progress<double>((val) =>
{
Expand Down

0 comments on commit 1d0e46b

Please sign in to comment.