diff --git a/bin/application/MainWindowController$1.class b/bin/application/MainWindowController$1.class index a04b9ab..bb0df82 100644 Binary files a/bin/application/MainWindowController$1.class and b/bin/application/MainWindowController$1.class differ diff --git a/bin/application/MainWindowController$2.class b/bin/application/MainWindowController$2.class index 9a9dbab..21e3cf2 100644 Binary files a/bin/application/MainWindowController$2.class and b/bin/application/MainWindowController$2.class differ diff --git a/bin/application/MainWindowController$3.class b/bin/application/MainWindowController$3.class index d08f4a1..05dc50b 100644 Binary files a/bin/application/MainWindowController$3.class and b/bin/application/MainWindowController$3.class differ diff --git a/bin/application/MainWindowController$4.class b/bin/application/MainWindowController$4.class index 1d49150..5859bec 100644 Binary files a/bin/application/MainWindowController$4.class and b/bin/application/MainWindowController$4.class differ diff --git a/bin/application/MainWindowController$5.class b/bin/application/MainWindowController$5.class index f5f5151..239122d 100644 Binary files a/bin/application/MainWindowController$5.class and b/bin/application/MainWindowController$5.class differ diff --git a/bin/application/MainWindowController$6.class b/bin/application/MainWindowController$6.class index 5ebe321..03e225a 100644 Binary files a/bin/application/MainWindowController$6.class and b/bin/application/MainWindowController$6.class differ diff --git a/bin/application/MainWindowController$7.class b/bin/application/MainWindowController$7.class index 6d07829..770d9bc 100644 Binary files a/bin/application/MainWindowController$7.class and b/bin/application/MainWindowController$7.class differ diff --git a/bin/application/MainWindowController.class b/bin/application/MainWindowController.class index 16ed07f..bb2b31c 100644 Binary files a/bin/application/MainWindowController.class and b/bin/application/MainWindowController.class differ diff --git a/bin/application/apiQuery.class b/bin/application/apiQuery.class index 7e68974..46bc0ca 100644 Binary files a/bin/application/apiQuery.class and b/bin/application/apiQuery.class differ diff --git a/src/application/MainWindowController.java b/src/application/MainWindowController.java index ceb2c2a..7004377 100644 --- a/src/application/MainWindowController.java +++ b/src/application/MainWindowController.java @@ -199,7 +199,6 @@ public class MainWindowController { private String errorLoad; private String errorSave; private String infoText; - private String linuxBugText; private String vlcNotInstalled; private String currentWorkingDirectory; private String path; @@ -308,16 +307,9 @@ public class MainWindowController { alert.setTitle("Info"); alert.setContentText(vlcNotInstalled); alert.showAndWait(); - }else if(datPath.contains(" ")){ - Alert alert = new Alert(AlertType.INFORMATION); - alert.setHeaderText(""); - alert.setTitle("Info"); - alert.setContentText(linuxBugText); - alert.initOwner(main.primaryStage); - alert.showAndWait(); }else{ try { - Runtime.getRuntime().exec("vlc "+getPath()+"/"+ datPath); + Runtime.getRuntime().exec(new String[] { "vlc", getPath()+"/"+ datPath}); } catch (IOException e) { showErrorMsg(errorPlay,e); } @@ -332,7 +324,7 @@ public class MainWindowController { } }else if(mode.equals("streaming")){ try { - Desktop.getDesktop().browse(new URI(datPath)); //open the streaming URL in browser (TODO other option?) + Desktop.getDesktop().browse(new URI(datPath)); //open the streaming URL in browser } catch (URISyntaxException | IOException e) { showErrorMsg(errorOpenStream, (IOException) e); } @@ -960,7 +952,6 @@ public class MainWindowController { errorSave = bundle.getString("errorSave"); noFilmFound = bundle.getString("noFilmFound"); infoText = bundle.getString("version")+" "+version+" (Build: "+buildNumber+") "+versionName+bundle.getString("infoText"); - linuxBugText = bundle.getString("linuxBug"); vlcNotInstalled = bundle.getString("vlcNotInstalled"); title = bundle.getString("title"); diff --git a/src/application/apiQuery.java b/src/application/apiQuery.java index 616b0f6..8ce7105 100644 --- a/src/application/apiQuery.java +++ b/src/application/apiQuery.java @@ -176,6 +176,7 @@ public class apiQuery{ } } catch (Exception e) { + mainWindowController.textFlow.getChildren().remove(0, mainWindowController.textFlow.getChildren().size()); mainWindowController.textFlow.getChildren().add(new Text(e.toString())); System.out.println(e); } finally { diff --git a/src/resources/HomeFlix-Local_de_DE.properties b/src/resources/HomeFlix-Local_de_DE.properties index bfa591e..24bfba5 100644 --- a/src/resources/HomeFlix-Local_de_DE.properties +++ b/src/resources/HomeFlix-Local_de_DE.properties @@ -27,7 +27,6 @@ errorOpenStream = Beim \u00F6ffnen des Streams ist ein Fehler aufgetreten! errorLoad = Beim laden der Einstellungen ist ein Fehler aufgetreten! errorSave = Beim speichern der Einstellungen ist ein Fehler aufgetreten! noFilmFound = Kein Film mit diesem Titel gefunden! -linuxBug = Zurzeit werden unter Linux leider keine Dateien mit Leerzeichen unterst\u00FCtzt! vlcNotInstalled = Um einen Film abspielen wird der VLC Media Player ben\u00F6tigt! infoText = \nMaintainer: seilo@kellerkinder.xyz und \nhendrik.schutter@coptersicht.de \n(c) 2016-2017 Kellerkinder www.kellerkinder.xyz title = Titel diff --git a/src/resources/HomeFlix-Local_en_US.properties b/src/resources/HomeFlix-Local_en_US.properties index e221122..379c88f 100644 --- a/src/resources/HomeFlix-Local_en_US.properties +++ b/src/resources/HomeFlix-Local_en_US.properties @@ -27,7 +27,6 @@ errorOpenStream = An error has occurred during opening the stream! errorLoad = An error occurred while loading the settings! errorSave = An error occurred while saving the settings! noFilmFound = No film with this title found! -linuxBug = Currently no files are supported with additional space under Linux unfortunately! vlcNotInstalled = VLC Media Player is required to play a movie! infoText = \nMaintainer: seilo@kellerkinder.xyz and \nhendrik.schutter@coptersicht.de \n(c) 2016-2017 Kellerkinder www.kellerkinder.xyz title = Title @@ -47,4 +46,4 @@ metascore = Metascore imdbRating = IMDB-Rating type = Type firstStartHeader = There is no root directory for movies! -firstStartContent = Specify a root directory? \ No newline at end of file +firstStartContent = Specify a root directory?