aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/Main.java b/src/main/java/Main.java
index 7ab6572..0d1ef41 100644
--- a/src/main/java/Main.java
+++ b/src/main/java/Main.java
@@ -101,7 +101,7 @@ public class Main extends JFrame {
System.out.println(line);
Downloader downloader = new Downloader(completedDir, outputArea);
String videoId = extractVideoId(line);
- if(downloader.videoIdAlreadyDownloaded(videoId)){
+ if(downloader.videoIdAlreadyDownloaded(videoId) && !line.contains(",")){ // if video has a time range we assume its on purpose and not a duplicate
int continueConfirm = JOptionPane.showConfirmDialog(
null,
"A file with the same video ID (" + videoId + ") already exists in the output directoy. Download anyways?",
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage