Skip to content

Commit

Permalink
download fixes.minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgillespie-plutotv committed Jan 9, 2020
1 parent 4555bc8 commit c6689c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("0.2.0.0")]
[assembly: AssemblyFileVersion("0.2.0.0")]
4 changes: 2 additions & 2 deletions JackTheVideoRipper/src/YouTubeDL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class YouTubeDL
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") + "\\JackTheVideoRipper";
public static string defaultDownloadPath = Path.Combine(Environment.ExpandEnvironmentVariables("%userprofile%"), "Downloads");

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

public static void downloadVideo(string url)
{
CLI.runCommand(binName + " -f (\"bestvideo[width >= 1920]\"/bestvideo)+bestaudio/best --no-check-certificate -o " + defaultDownloadPath + "\\%(title)s.%(ext)s " + 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);
}

public static void downloadAudio(string url)
Expand Down
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 c6689c8

Please sign in to comment.