Skip to content

Commit 363ed95

Browse files
committed
Fixed already Download check for SD Download
1 parent 3a09547 commit 363ed95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MainForm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ private async Task<string> GetRedirectUrl(string url, CancellationToken token)
10501050
else
10511051
{
10521052
var indexNumberPattern = $"{MediaID}_";
1053-
if (downloadedIds.Any(id => id.StartsWith(indexNumberPattern)))
1053+
if (downloadedIds.Any(id => id.StartsWith(indexNumberPattern) && !id.Contains("_HD")))
10541054
{
10551055
outputTextBox.AppendText($"Media {MediaID} already downloaded. Skipping...\r\n");
10561056
videoAlreadyDownloaded = true;

0 commit comments

Comments
 (0)