Skip to content

Commit

Permalink
video & audio. not audio only
Browse files Browse the repository at this point in the history
will add audio only playlist download later
  • Loading branch information
MeguMario authored Nov 25, 2020
1 parent f4e9b8c commit 31bc083
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions youtube-dl companion/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ static void Main(string[] args)
string u = Console.ReadLine();
string ytdl = $"youtube-dl.exe -f {bz} {u}";
System.Diagnostics.Process.Start("CMD.exe", "/C" + ytdl);
Console.ReadKey();
break;
}
// audio only
Expand All @@ -37,17 +36,15 @@ static void Main(string[] args)
string u = Console.ReadLine();
string ytdl = $"youtube-dl.exe -f {ba} {u}";
System.Diagnostics.Process.Start("CMD.exe", "/C" + ytdl);
Console.ReadKey();
break;
}
// download a whole playlist
case 3:
{
Console.WriteLine("Type Youtube Playlist");
string u = Console.ReadLine();
string ytdl = $"youtube-dl.exe -f {ba} -o {ap} {u}";
string ytdl = $"youtube-dl.exe -f {bz} -o {ap} {u}";
System.Diagnostics.Process.Start("CMD.exe", "/C" + ytdl);
Console.ReadKey();
break;
}
// the worst help section ever
Expand Down

0 comments on commit 31bc083

Please sign in to comment.