Skip to content

Commit

Permalink
Browse youtube-dl or ffmpeg website if not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
awidesky committed May 7, 2021
1 parent 6d75c78 commit 15d60f7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public static void checkYoutubedl() {
if (!checkYoutubedlPath(youtubedlpath + "youtube-dl")) {

GUI.error("Error!", "youtube-dl does not exist in\n\t" + youtubedlpath + "\tor system %path%!", null);
Main.webBrowse("http://ytdl-org.github.io/youtube-dl/download.html");
Main.kill(1);

}
Expand Down Expand Up @@ -81,6 +82,7 @@ public static void checkFfmpeg() {
} catch (Exception e) {

GUI.error("Error!", "ffmpeg does not exist in\n\t" + youtubedlpath + "\tor system %path%!", null);
Main.webBrowse("https://ffmpeg.org/download.html");
Main.kill(1);

}
Expand Down Expand Up @@ -253,7 +255,7 @@ public static boolean validateAndSetName(String url, TaskData task, PlayListOpti

if (p == PlayListOption.YES) {

name += " ¹× Ç÷¹À̸®½ºÆ® Àüü";
name += " ¹× Ç÷¹À̸®½ºÆ® Àüü";
task.setVideoName(name);

int vdnum = 1;
Expand Down

0 comments on commit 15d60f7

Please sign in to comment.