Pārlūkot izejas kodu

ptch

git-svn-id: http://repo.nplusc.de/svn/iZink@214 8b19561d-0d00-6744-8ac1-9afc8f58a8aa
masterX244 11 gadi atpakaļ
vecāks
revīzija
dc3511aa74
2 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4 3
      iZYT2SF/src/de/nplusc/izc/YTutil/UI.java
  2. BIN
      iZYT2SF/youtube-dl.exe

+ 4 - 3
iZYT2SF/src/de/nplusc/izc/YTutil/UI.java

@@ -135,7 +135,7 @@ public class UI extends javax.swing.JFrame
     private void btnDLActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_btnDLActionPerformed
     {//GEN-HEADEREND:event_btnDLActionPerformed
         
-       /* if(Preferences.userRoot().get("izyt.path", "...").equals("..."))
+        /*if(Preferences.userRoot().get("izyt.path", "...").equals("..."))
         {
             if(!FileTK.checkDirExist(Preferences.userRoot().get("izyt.path", "...")))//falls Pfad irgendwie ungültig wurde
             {
@@ -194,10 +194,11 @@ public class UI extends javax.swing.JFrame
                 System.out.println(loadedFile);
                 String inPath = tempPath+"\\"+loadedFile;
                 String outpath = path+"\\"+FileTK.getFileName(loadedFile)+"";//.mp3
+                System.out.println(outpath);
                 if(!isCancelled)
                 {
-                    FileTK.kopierpaste(new File(loadedFile), new File(outpath));
-                    //Tools.runCmdWithOutToTextField(logPane,"ffmpeg.exe","-stats","-n","-i",inPath,"-ab","192k",outpath);
+                    // FileTK.kopierpaste(new File(inPath), new File(outpath));
+                    Tools.runCmdWithOutToTextField(logPane,"ffmpeg.exe","-stats","-n","-i",inPath,"-ab","192k",outpath);
                 }
                 //ffmpeg --stats -b 192k -i inputfile out.mp3
                 FileTK.verzeichnisKillen(new File(tempPath));

BIN
iZYT2SF/youtube-dl.exe