Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
Fixed a bug which prevented consecutive downloads.
  • Loading branch information
rnand committed Jul 17, 2015
1 parent 79d5c86 commit e1c803d
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Youtube downloader/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Youtube downloader/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,14 @@ private void btndwnld_Click(object sender, EventArgs e)

void exeProcess_ExitedHandler(object sender, EventArgs e)
{

exeProcess.CancelOutputRead();
//exeProcess.CancelErrorRead();
if (exeProcess.ExitCode == 0)
{
prgrsbr.BeginInvoke(new Action(() => //need this beacuse of different threads
{
prgrsbr.Value = 1000; //yes this is cheating, but who cares if it works lol!

}
));
MessageBox.Show("Download Complete.", "Status", MessageBoxButtons.OK, MessageBoxIcon.Information);
Expand Down
4 changes: 2 additions & 2 deletions Youtube downloader/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.2.0")]
[assembly: AssemblyFileVersion("1.4.2.0")]
[assembly: AssemblyVersion("1.4.3.0")]
[assembly: AssemblyFileVersion("1.4.3.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>ZEpUd4OeJu6jxX3EbtqDlcNXuy8=</dsig:DigestValue>
<dsig:DigestValue>GEDt9n+xBLYyrARHHJH9i6UZ+Gk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified Youtube downloader/bin/Debug/YouTube downloader.exe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>AhP5YPDBgh1QtXq4A8Vxdn1cYAg=</dsig:DigestValue>
<dsig:DigestValue>LKwz5azXGgG/ZidFJ4SILynRSrw=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified Youtube downloader/bin/Debug/YouTube downloader.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>ZEpUd4OeJu6jxX3EbtqDlcNXuy8=</dsig:DigestValue>
<dsig:DigestValue>GEDt9n+xBLYyrARHHJH9i6UZ+Gk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>AhP5YPDBgh1QtXq4A8Vxdn1cYAg=</dsig:DigestValue>
<dsig:DigestValue>LKwz5azXGgG/ZidFJ4SILynRSrw=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>nj+wnX9WLPMb7bnPit9CdSHj87E=</dsig:DigestValue>
<dsig:DigestValue>cKMzoFFR4poQf132n2ocZMcFqTk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified Youtube downloader/bin/Release/YouTube downloader.exe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<description asmv2:iconFile="YouTube-icon-dark.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
<application />
<entryPoint>
<assemblyIdentity name="YouTube downloader" version="1.4.2.0" language="neutral" processorArchitecture="x86" />
<assemblyIdentity name="YouTube downloader" version="1.4.3.0" language="neutral" processorArchitecture="x86" />
<commandLine file="YouTube downloader.exe" parameters="" />
</entryPoint>
<trustInfo>
Expand Down Expand Up @@ -44,13 +44,13 @@
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="YouTube downloader.exe" size="12900352">
<assemblyIdentity name="YouTube downloader" version="1.4.2.0" language="neutral" processorArchitecture="x86" />
<assemblyIdentity name="YouTube downloader" version="1.4.3.0" language="neutral" processorArchitecture="x86" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>hh9rmXVURYiL/OhM8I+ohssq7SU=</dsig:DigestValue>
<dsig:DigestValue>jNp94zy4a7V6sHPSaNTsx/pfvHY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified Youtube downloader/bin/Release/YouTube downloader.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>nj+wnX9WLPMb7bnPit9CdSHj87E=</dsig:DigestValue>
<dsig:DigestValue>cKMzoFFR4poQf132n2ocZMcFqTk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<description asmv2:iconFile="YouTube-icon-dark.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
<application />
<entryPoint>
<assemblyIdentity name="YouTube downloader" version="1.4.2.0" language="neutral" processorArchitecture="x86" />
<assemblyIdentity name="YouTube downloader" version="1.4.3.0" language="neutral" processorArchitecture="x86" />
<commandLine file="YouTube downloader.exe" parameters="" />
</entryPoint>
<trustInfo>
Expand Down Expand Up @@ -44,13 +44,13 @@
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="YouTube downloader.exe" size="12900352">
<assemblyIdentity name="YouTube downloader" version="1.4.2.0" language="neutral" processorArchitecture="x86" />
<assemblyIdentity name="YouTube downloader" version="1.4.3.0" language="neutral" processorArchitecture="x86" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>hh9rmXVURYiL/OhM8I+ohssq7SU=</dsig:DigestValue>
<dsig:DigestValue>jNp94zy4a7V6sHPSaNTsx/pfvHY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>ZEpUd4OeJu6jxX3EbtqDlcNXuy8=</dsig:DigestValue>
<dsig:DigestValue>GEDt9n+xBLYyrARHHJH9i6UZ+Gk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified Youtube downloader/obj/x86/Debug/YouTube downloader.exe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>AhP5YPDBgh1QtXq4A8Vxdn1cYAg=</dsig:DigestValue>
<dsig:DigestValue>LKwz5azXGgG/ZidFJ4SILynRSrw=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified Youtube downloader/obj/x86/Debug/YouTube downloader.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>nj+wnX9WLPMb7bnPit9CdSHj87E=</dsig:DigestValue>
<dsig:DigestValue>cKMzoFFR4poQf132n2ocZMcFqTk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified Youtube downloader/obj/x86/Release/YouTube downloader.exe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<description asmv2:iconFile="YouTube-icon-dark.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
<application />
<entryPoint>
<assemblyIdentity name="YouTube downloader" version="1.4.2.0" language="neutral" processorArchitecture="x86" />
<assemblyIdentity name="YouTube downloader" version="1.4.3.0" language="neutral" processorArchitecture="x86" />
<commandLine file="YouTube downloader.exe" parameters="" />
</entryPoint>
<trustInfo>
Expand Down Expand Up @@ -44,13 +44,13 @@
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="YouTube downloader.exe" size="12900352">
<assemblyIdentity name="YouTube downloader" version="1.4.2.0" language="neutral" processorArchitecture="x86" />
<assemblyIdentity name="YouTube downloader" version="1.4.3.0" language="neutral" processorArchitecture="x86" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>hh9rmXVURYiL/OhM8I+ohssq7SU=</dsig:DigestValue>
<dsig:DigestValue>jNp94zy4a7V6sHPSaNTsx/pfvHY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified Youtube downloader/obj/x86/Release/YouTube downloader.pdb
Binary file not shown.
Binary file not shown.

0 comments on commit e1c803d

Please sign in to comment.