From f1402e94fc814a402b5c156e7197b2e11d9f325c Mon Sep 17 00:00:00 2001 From: Donald Shan Date: Mon, 22 Aug 2022 13:35:24 -0700 Subject: Manual Tagging Improved - Added the ability to manually change album art - Moved UI initialization code to bottom of file --- src/main/java/Main.java | 142 ++++++++++++++++++++++++------------------------ 1 file changed, 70 insertions(+), 72 deletions(-) (limited to 'src/main/java/Main.java') diff --git a/src/main/java/Main.java b/src/main/java/Main.java index 05edb94..c324ccd 100644 --- a/src/main/java/Main.java +++ b/src/main/java/Main.java @@ -22,7 +22,7 @@ public class Main extends JFrame { JProgressBar progressBar = new JProgressBar(); JLabel title = new JLabel("YouTube to MP3 Auto Tagging"); JButton startButton = new JButton("Set .txt File"); - static JTextArea outputArea = new JTextArea("this is bery bery bery safe no worries no virus malwar ur monies back granteed"); + static JTextArea outputArea = new JTextArea(""); public Main(){ initializeComponents(); @@ -33,6 +33,75 @@ public class Main extends JFrame { new Main().setVisible(true); } + private void downloadAndTag(){ //Main loop ran for checking list of songs, downloading mp3 files, and applying tags + ArrayList songs = fileUtil.txtToArrayList(textPath); + progress = 0; + for(int i = 0;i songs = fileUtil.txtToArrayList(textPath); - progress = 0; - for(int i = 0;i