Skip to content

Commit

Permalink
incremented version
Browse files Browse the repository at this point in the history
  • Loading branch information
dgillespie-plutotv committed Jan 9, 2020
1 parent c6689c8 commit 9ef8413
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions JackTheVideoRipper/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("0.2.0.0")]
[assembly: AssemblyFileVersion("0.2.0.0")]
[assembly: AssemblyVersion("0.3.0.0")]
[assembly: AssemblyFileVersion("0.3.0.0")]
7 changes: 4 additions & 3 deletions JackTheVideoRipper/src/YouTubeDL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ namespace JackTheVideoRipper
{
class YouTubeDL
{
public static string defaultDownloadPath = Path.Combine(Environment.ExpandEnvironmentVariables("%userprofile%"), "Downloads");
private static string binName = "youtube-dl.exe";
private static string binPath = Common.AppPath + "\\" + binName;
private static string downloadURL = "https://yt-dl.org/downloads/latest/youtube-dl.exe";
public static string defaultDownloadPath = Path.Combine(Environment.ExpandEnvironmentVariables("%userprofile%"), "Downloads");
private static string titleFormat = "%(title)s.%(ext)s";

private static bool exists()
{
Expand Down Expand Up @@ -37,12 +38,12 @@ public static void checkForUpdates()

public static void downloadVideo(string url)
{
CLI.runCommand(binName + " -f bestvideo[ext!=webm]‌​+bestaudio[ext!=webm]‌​/best[ext!=webm] --merge-output-format mp4 --no-check-certificate -o " + defaultDownloadPath + "\\%(title)s.%(ext)s " + url);
CLI.runCommand(binName + " -f best --no-check-certificate -o " + defaultDownloadPath + "\\" + titleFormat + " " + url);
}

public static void downloadAudio(string url)
{
CLI.runCommand(binName + " -f bestaudio -x --audio-format mp3 --no-check-certificate -o " + defaultDownloadPath + "\\%(title)s.%(ext)s " + url);
CLI.runCommand(binName + " -f bestaudio -x --audio-format mp3 --no-check-certificate -o " + defaultDownloadPath + "\\" + titleFormat + " " + url);
}
}
}
2 changes: 1 addition & 1 deletion JackTheVideoRipper/views/FrameAbout.Designer.cs

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

0 comments on commit 9ef8413

Please sign in to comment.