|
@@ -107,7 +107,25 @@ public class Main extends javax.swing.JFrame
|
|
|
}
|
|
|
catch (ParseException ex)
|
|
|
{
|
|
|
- l.error(ex.getMessage());
|
|
|
+ String msg = ex.getMessage();
|
|
|
+ System.err.println("Failed to parse the commandline");
|
|
|
+ if(msg!=null)
|
|
|
+ {
|
|
|
+ System.err.println(msg);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ System.err.println("No further details given");
|
|
|
+ }
|
|
|
+
|
|
|
+ try
|
|
|
+ {
|
|
|
+ CommandLineParsing.processCommandLine(new String[]{});
|
|
|
+ }
|
|
|
+ catch (ParseException ex1)
|
|
|
+ {
|
|
|
+ ex1.printStackTrace();
|
|
|
+ }
|
|
|
System.exit(0);
|
|
|
}
|
|
|
}
|
|
@@ -212,8 +230,6 @@ public class Main extends javax.swing.JFrame
|
|
|
spawnUI();
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
if (stts.firstrunmode)
|
|
|
{
|
|
|
java.awt.EventQueue.invokeLater(() ->
|
|
@@ -223,9 +239,6 @@ public class Main extends javax.swing.JFrame
|
|
|
frs.setVisible(true);
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
l.info("Loading the configs now");
|
|
|
loadConfigs();
|
|
|
if (CONFIG.isStandaloneMode())
|
|
@@ -237,7 +250,6 @@ public class Main extends javax.swing.JFrame
|
|
|
p.initializePlugins(stts);
|
|
|
l.info("Plugins initialized");
|
|
|
//TODO: GUI-Editor zum Erzeugen von iZpl-S
|
|
|
-
|
|
|
mainProcessingStage2();
|
|
|
}
|
|
|
|
|
@@ -348,7 +360,6 @@ public class Main extends javax.swing.JFrame
|
|
|
if (stts.burnDisc)
|
|
|
{
|
|
|
BurnMe.InitializeBurnDisc(stts.file_path);
|
|
|
- //quickQuit();
|
|
|
}
|
|
|
if (stts.firstrunmode || stts.loadConfigMode)
|
|
|
{
|
|
@@ -384,15 +395,13 @@ public class Main extends javax.swing.JFrame
|
|
|
{
|
|
|
isShittyPlayer = true;
|
|
|
}
|
|
|
-
|
|
|
try
|
|
|
{
|
|
|
-
|
|
|
l.trace("fpl|" + stts.forcePregen + "|shitmp|" + isShittyPlayer + "|a1|" + stts.file_path + "|vp|" + vlcpath);
|
|
|
if (
|
|
|
(stts.filemode && !(stts.forcePregen || isShittyPlayer)) ||
|
|
|
(stts.featurePluginMode&&p.getSelectedFeaturePlugin().requiresLoadedPlayList()))
|
|
|
- {
|
|
|
+ { //throw new CodeStatusError("404");
|
|
|
l.trace("usegui=" + stts.useGUI);
|
|
|
l.trace("featurePlugin=" + stts.featurePluginMode);
|
|
|
|
|
@@ -652,6 +661,10 @@ public class Main extends javax.swing.JFrame
|
|
|
return stts;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ //V--nothing to see here
|
|
|
+
|
|
|
+ //^--evil line doesnt need any code :P
|
|
|
public static PluginManager getPluginManager()
|
|
|
{
|
|
|
return p;
|
|
@@ -659,10 +672,7 @@ public class Main extends javax.swing.JFrame
|
|
|
|
|
|
|
|
|
//</editor-fold>
|
|
|
-
|
|
|
- //V--nothing to see here
|
|
|
-
|
|
|
- //^--evil line doesnt need any code :P
|
|
|
+
|
|
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
|
|
private static javax.swing.JProgressBar pload;
|
|
|
// End of variables declaration//GEN-END:variables
|
|
@@ -703,6 +713,6 @@ public class Main extends javax.swing.JFrame
|
|
|
* V0.6.0.0 Editor basics, Bugfixxes & rewrite of the Reader code whic resides now in PLFileIO.java
|
|
|
* V0.7.0.0 Refactor of the main class to shrink it
|
|
|
* V0.7.1.0 Fixes
|
|
|
- * V0.8.0.0 Stream support &
|
|
|
+ * V0.8.0.0 Stream support, fix related to a error message,
|
|
|
*/
|
|
|
}
|