Quellcode durchsuchen

MNQ-Version

git-svn-id: http://repo.nplusc.de/svn/iZink@175 8b19561d-0d00-6744-8ac1-9afc8f58a8aa
masterX244 vor 11 Jahren
Ursprung
Commit
45850869f2
3 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen
  1. BIN
      iZYT2SF/ffmpeg.exe
  2. 4 5
      iZYT2SF/src/de/nplusc/izc/YTutil/UI.java
  3. BIN
      iZYT2SF/youtube-dl.exe

BIN
iZYT2SF/ffmpeg.exe


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

@@ -189,16 +189,15 @@ public class UI extends javax.swing.JFrame
             {
                 String tempPath = Tools.processEnvVarsinLine("%temp%\\iZYT");
                 FileTK.ensuredirExistence(tempPath);
-                Tools.runSingleCmd(true, true, false, true, logPane,
-                        System.out, "youtube-dl.exe", "-o", tempPath + "\\%(title)s.flv", "--restrict-filenames", "--newline", yturl);
+                Tools.runCmdWithOutToTextField(logPane,"youtube-dl.exe", "-o", tempPath + "\\%(title)s.flv", "--restrict-filenames", "--newline", yturl);
                 String loadedFile = FileTK.getDirectoryContent(tempPath, true)[0];
                 System.out.println(loadedFile);
                 String inPath = tempPath+"\\"+loadedFile;
-                String outpath = path+"\\"+FileTK.getFileName(loadedFile)+".mp3";
+                String outpath = path+"\\"+FileTK.getFileName(loadedFile)+"";//.mp3
                 if(!isCancelled)
                 {
-                    Tools.runSingleCmd(true, true, false, true, logPane,
-                            System.out,"ffmpeg.exe","-stats","-n","-i",inPath,"-ab","192k",outpath);
+                    FileTK.kopierpaste(new File(loadedFile), 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