|
@@ -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));
|