18 Commits
0.3.5 ... 0.3.7

Author SHA1 Message Date
fa252a916c updated to 0.3.7 2016-09-09 20:43:01 +02:00
4d57bdbdff updated to 0.3.7 2016-09-09 20:41:20 +02:00
d0be4f88b0 updated todo 2016-08-16 22:03:16 +02:00
cf1350033f Update README.md 2016-08-15 18:45:13 +02:00
9876ad6212 updated to version 0.3.6 2016-08-15 18:36:57 +02:00
a664a9c5c4 added recources folder 2016-08-15 12:51:08 +02:00
810b4ee957 added recources package 2016-08-15 12:40:26 +02:00
026dde43d8 Merge pull request #2 from Seil0/develop
updated to latest develop
2016-08-14 17:04:37 +02:00
cac744ce21 update 2016-08-14 17:03:39 +02:00
08099488a8 Delete config.xml 2016-08-14 17:00:21 +02:00
30aa11efc2 Delete config.xml 2016-08-14 17:00:13 +02:00
d425896e87 Merge branch 'develop' of https://github.com/Seil0/Project-HomeFlix into develop 2016-08-14 16:59:17 +02:00
596a29c5cd Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-08-14 16:59:14 +02:00
ee86c9be48 updated files 2016-08-14 16:57:51 +02:00
6304c01b9d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-08-14 16:56:55 +02:00
ecceb9010e Update README.md 2016-08-14 16:51:22 +02:00
b50b1d547d Update README.md 2016-08-14 16:51:03 +02:00
2c1c39c9d1 Update README.md 2016-08-14 16:50:35 +02:00
40 changed files with 765 additions and 235 deletions

View File

@ -5,5 +5,6 @@
<classpathentry kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/>
<classpathentry kind="lib" path="C:/Users/Jannik/workspace/Project HomeFlix/jfoenix.jar"/> <classpathentry kind="lib" path="C:/Users/Jannik/workspace/Project HomeFlix/jfoenix.jar"/>
<classpathentry kind="lib" path="C:/Users/Jannik/workspace/Project HomeFlix/minimal-json-0.9.4.jar"/> <classpathentry kind="lib" path="C:/Users/Jannik/workspace/Project HomeFlix/minimal-json-0.9.4.jar"/>
<classpathentry kind="lib" path="C:/Users/Jannik/workspace/Project HomeFlix/commons-lang3-3.4.jar"/>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>
</classpath> </classpath>

3
.directory Normal file
View File

@ -0,0 +1,3 @@
[Dolphin]
Timestamp=2016,8,15,12,18,4
Version=3

2
.gitignore vendored
View File

@ -49,3 +49,5 @@ jfoenix.jar
minimal-json-0.9.4.jar minimal-json-0.9.4.jar
config.xml config.xml
config.xml
commons-lang3-3.4.jar

View File

@ -1,24 +1,16 @@
# Project-HomeFlix # Project-HomeFlix
Project HomeFlix is a Kellerkinder Project. More Information soon ... Project HomeFlix is a Kellerkinder Project. HomeFlix is a Programm that alowes you to sort all your local
saved movies in clean UI.
Librarys used in this Project: Librarys used in this Project:
JFoenix https://github.com/jfoenixadmin/JFoenix JFoenix: https://github.com/jfoenixadmin/JFoenix
minimal-json https://github.com/ralfstx/minimal-json minimal-json: https://github.com/ralfstx/minimal-json
Commons Lang: https://commons.apache.org/proper/commons-lang/
## Installation ## Installation
download compiled .jar read our documentation
##FAQ
- HomeFlix isn't starting after update
- delete the config.xml file and start HomeFlix again
- can't choos a main color
- restart HomeFlix
- HomeFlix hangs or dosen't responde
- try restarting it and check the movie names
- cann't start HomeFlix under Linux
- check your Java version. Java 8 update 91 is required
Project HomeFlix © 2016 Software Development Kellerkinder (SDK) Project HomeFlix © 2016 Software Development Kellerkinder (SDK)
www.kellerkinder.xyz www.kellerkinder.xyz

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,19 @@
# HomeFlix-Local_de_DE.properties German Local
info = Info
settings = Einstellungen
play = play
openFolder = Ordner \u00F6ffnen
chooseFolder = Ordner ausw\u00E4hlen
fontSize = Schriftgr\u00F6\u00DFe:
checkUpdates = Auf Update pr\u00FCfen
autoUpdate = beim Start nach Updates suchen:
version = Version:
columnName = Name
columnRating = Bewertung
columnDatName = Datei Name
errorUpdateV = Beim ausf\u00FChren des Updates ist ein Fehler aufgetreten! \nError: could not check update version (nvc)\nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz
errorUpdateD = Beim ausf\u00FChren des Updates ist ein Fehler aufgetreten! \nError: could not download update files (ndf)\nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz
errorPlay = Beim \u00F6ffnen der Datei ist ein Fehler aufgetreten! \nError: could not open file (nof) \nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz
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 Kellerkinder www.kellerkinder.xyz

View File

@ -0,0 +1,19 @@
# HomeFlix-Local_en_US.properties US-English Local and default
info = Info
settings = Settings
play = play
openFolder = open Folder
chooseFolder = choose Directory
fontSize = font size:
checkUpdates = check for updates
autoUpdate = check at startup for updates:
version = Version:
columnName = Name
columnRating = Rating
columnDatName = File Name
errorUpdateV = An error has occurred during update! \nError: could not check update version (nvc) \nTo get help, visit www.kellerkinder.xyz \nor contcat support@kellerkinder.xyz
errorUpdateD = An error has occurred during update! \nError: could not download update files (ndf) \nTo get help, visit www.kellerkinder.xyz \nor contcat support@kellerkinder.xyz
errorPlay = An error has occurred during opening the file! \nError: could not open file (nof) \nTo get help, visit www.kellerkinder.xyz \nor contcat support@kellerkinder.xyz
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 Kellerkinder www.kellerkinder.xyz

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>Project HomeFlix settings</comment>
<entry key="autoUpdate">0</entry>
<entry key="color">ee3523</entry>
<entry key="local">1</entry>
<entry key="size">12.0</entry>
<entry key="path">C:\Users\Jannik\Videos\Beispielfilme</entry>
</properties>

View File

@ -44,10 +44,14 @@ public class Main extends Application {
public Stage primaryStage; public Stage primaryStage;
private String path; private String path;
private String streamingPath = System.getProperty("user.home") + "\\Documents\\HomeFlix";
private String color = "ee3523"; private String color = "ee3523";
private String autoUpdate = "0"; private String autoUpdate = "0";
private String mode = "local"; //local or streaming
private double size = 12; private double size = 12;
private int local = 0; private int local = 0;
private File dir = new File(System.getProperty("user.home") + "/Documents/HomeFlix"); //Windows: C:/Users/"User"/Documents/HomeFlix OSX: has to be tested Linux: has to be tested(shalt not work!)
private File file = new File(dir + "/config.xml"); //Windows: C:/Users/"User"/Documents/HomeFlix/config.xml OSX: has to be tested Linux: has to be tested(shalt not work!)
Properties props = new Properties(); Properties props = new Properties();
private MainWindowController mainWindowController; private MainWindowController mainWindowController;
@ -58,7 +62,7 @@ public class Main extends Application {
} }
public void mainWindow(){ public void mainWindow(){
File file = new File("config.xml");
try { try {
FXMLLoader loader = new FXMLLoader(Main.class.getResource("MainWindow.fxml")); FXMLLoader loader = new FXMLLoader(Main.class.getResource("MainWindow.fxml"));
AnchorPane pane = loader.load(); AnchorPane pane = loader.load();
@ -66,31 +70,47 @@ public class Main extends Application {
primaryStage.setMinWidth(900.00); primaryStage.setMinWidth(900.00);
primaryStage.setResizable(false); primaryStage.setResizable(false);
primaryStage.setTitle("Project HomeFlix"); primaryStage.setTitle("Project HomeFlix");
primaryStage.getIcons().add(new Image(Main.class.getResourceAsStream("/Homeflix_Icon_64x64.png"))); //f<>gt Anwendungsicon hinzu primaryStage.getIcons().add(new Image(Main.class.getResourceAsStream("/recources/Homeflix_Icon_64x64.png"))); //f<>gt Anwendungsicon hinzu
mainWindowController = loader.getController(); //verkn<6B>pfung von FXMLController und Controller Klasse mainWindowController = loader.getController(); //verkn<6B>pfung von FXMLController und Controller Klasse
mainWindowController.setAutoUpdate(autoUpdate); //setzt autoupdate mainWindowController.setAutoUpdate(autoUpdate); //setzt autoupdate
mainWindowController.setMain(this); //aufruf setMain mainWindowController.setMain(this); //aufruf setMain
//pr<EFBFBD>ft ob config.xml vorhanden, wenn nicht hole Pfad und schreibe Daten in Controller //dir exists -> check config.xml TODO nur Windows getestet siehe dir und file
if (file.exists() != true) { if(dir.exists() == true){
mainWindowController.setPath(firstStart()); if (file.exists() != true) {
mainWindowController.setColor(color); mainWindowController.setPath(firstStart());
mainWindowController.setSize(size); mainWindowController.setStreamingPath(streamingPath);
mainWindowController.setAutoUpdate(autoUpdate); mainWindowController.setColor(color);
mainWindowController.setLoaclUI(local); mainWindowController.setSize(size);
mainWindowController.saveSettings(); mainWindowController.setAutoUpdate(autoUpdate);
Runtime.getRuntime().exec("java -jar ProjectHomeFlix.jar"); //starte neu um Bugs zu verhindern mainWindowController.setLoaclUI(local);
System.exit(0); //beendet sich selbst mainWindowController.setMode(mode);
mainWindowController.saveSettings();
Runtime.getRuntime().exec("java -jar ProjectHomeFlix.jar"); //starte neu um Bugs zu verhindern
System.exit(0); //beendet sich selbst
}else{
loadSettings();
}
}else{ }else{
loadSettings(); dir.mkdir();
mainWindowController.setPath(firstStart());
mainWindowController.setStreamingPath(streamingPath);
mainWindowController.setColor(color);
mainWindowController.setSize(size);
mainWindowController.setAutoUpdate(autoUpdate);
mainWindowController.setLoaclUI(local);
mainWindowController.setMode(mode);
mainWindowController.saveSettings();
Runtime.getRuntime().exec("java -jar ProjectHomeFlix.jar"); //starte neu um Bugs zu verhindern
System.exit(0); //beendet sich selbst
} }
mainWindowController.loadStreamingSettings();
mainWindowController.applyColor(); //setzt die Theme Farbe mainWindowController.applyColor(); //setzt die Theme Farbe
mainWindowController.cbLocal.getSelectionModel().select(mainWindowController.getLocal()); //setzt local mainWindowController.cbLocal.getSelectionModel().select(mainWindowController.getLocal()); //setzt local
mainWindowController.mainColor.setValue(Color.valueOf(mainWindowController.getColor())); mainWindowController.mainColor.setValue(Color.valueOf(mainWindowController.getColor()));
mainWindowController.loadData(); //l<>d die Daten im Controller mainWindowController.loadData(); //l<>d die Daten im Controller
mainWindowController.addDataUI();
Scene scene = new Scene(pane); //neue Scen um inhalt der stage anzuzeigen Scene scene = new Scene(pane); //neue Scen um inhalt der stage anzuzeigen
@ -124,24 +144,23 @@ public class Main extends Application {
//l<>dt die einstellungen aus der XML //l<>dt die einstellungen aus der XML
public void loadSettings(){ public void loadSettings(){
File configFile = new File("config.xml");
try { try {
InputStream inputStream = new FileInputStream(configFile); InputStream inputStream = new FileInputStream(file);
props.loadFromXML(inputStream); props.loadFromXML(inputStream);
path = props.getProperty("path"); path = props.getProperty("path"); //setzt Propselement in Pfad
streamingPath = props.getProperty("streamingPath");
color = props.getProperty("color"); color = props.getProperty("color");
autoUpdate = props.getProperty("autoUpdate");
size = Double.parseDouble(props.getProperty("size")); size = Double.parseDouble(props.getProperty("size"));
autoUpdate = props.getProperty("autoUpdate");
local = Integer.parseInt(props.getProperty("local")); local = Integer.parseInt(props.getProperty("local"));
mode = props.getProperty("mode");
inputStream.close(); inputStream.close();
} catch (IOException e) { } catch (IOException e) {
// Auto-generated catch block System.out.println("An error has occurred!");
e.printStackTrace(); e.printStackTrace();
} }
} }
public static void main(String[] args) { public static void main(String[] args) {
launch(args); launch(args);
} }

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,101 @@
package application;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public class streamUiData {
private IntegerProperty year = new SimpleIntegerProperty();
private IntegerProperty season = new SimpleIntegerProperty();
private DoubleProperty rating = new SimpleDoubleProperty();
private StringProperty resolution = new SimpleStringProperty();
private StringProperty titel = new SimpleStringProperty();
private StringProperty streamUrl = new SimpleStringProperty();
//uiData ist der Typ der Daten in der TreeTabelView
public streamUiData (final int year, final int season, final double rating, final String resolution, final String titel, final String streamUrl) {
this.year.set(year);
this.season.set(season);
this.rating.set(rating);
this.resolution.set(resolution);
this.titel.set(titel);
this.streamUrl.set(streamUrl);
}
public int getYear() {
return year.get();
}
public int getSeason() {
return season.get();
}
public double getRating() {
return rating.get();
}
public String getResolution() {
return resolution.get();
}
public String getTitel() {
return titel.get();
}
public String getStreamUrl() {
return streamUrl.get();
}
public void setYear(int year) {
this.year.set(year);
}
public void setSeason(int season) {
this.season.set(season);
}
public void setRating(int rating) {
this.rating.set(rating);
}
public void setResolution(String resolution) {
this.resolution.set(resolution);
}
public void setTitel(String titel) {
this.titel.set(titel);
}
public void setStreamUrl(StringProperty streamUrl) {
this.streamUrl = streamUrl;
}
public IntegerProperty yearProperty(){
return year;
}
public IntegerProperty seasonProperty(){
return season;
}
public DoubleProperty ratingProperty(){
return rating;
}
public StringProperty resolutionProperty(){
return resolution;
}
public StringProperty titelProperty(){
return titel;
}
public StringProperty streamUrlProperty(){
return streamUrl;
}
}

View File

@ -0,0 +1,19 @@
# HomeFlix-Local_de_DE.properties German Local
info = Info
settings = Einstellungen
play = play
openFolder = Ordner \u00F6ffnen
chooseFolder = Ordner ausw\u00E4hlen
fontSize = Schriftgr\u00F6\u00DFe:
checkUpdates = Auf Update pr\u00FCfen
autoUpdate = beim Start nach Updates suchen:
version = Version:
columnName = Name
columnRating = Bewertung
columnDatName = Datei Name
errorUpdateV = Beim ausf\u00FChren des Updates ist ein Fehler aufgetreten! \nError: could not check update version (nvc)\nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz
errorUpdateD = Beim ausf\u00FChren des Updates ist ein Fehler aufgetreten! \nError: could not download update files (ndf)\nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz
errorPlay = Beim \u00F6ffnen der Datei ist ein Fehler aufgetreten! \nError: could not open file (nof) \nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz
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 Kellerkinder www.kellerkinder.xyz

View File

@ -0,0 +1,19 @@
# HomeFlix-Local_en_US.properties US-English Local and default
info = Info
settings = Settings
play = play
openFolder = open Folder
chooseFolder = choose Directory
fontSize = font size:
checkUpdates = check for updates
autoUpdate = check at startup for updates:
version = Version:
columnName = Name
columnRating = Rating
columnDatName = File Name
errorUpdateV = An error has occurred during update! \nError: could not check update version (nvc) \nTo get help, visit www.kellerkinder.xyz \nor contcat support@kellerkinder.xyz
errorUpdateD = An error has occurred during update! \nError: could not download update files (ndf) \nTo get help, visit www.kellerkinder.xyz \nor contcat support@kellerkinder.xyz
errorPlay = An error has occurred during opening the file! \nError: could not open file (nof) \nTo get help, visit www.kellerkinder.xyz \nor contcat support@kellerkinder.xyz
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 Kellerkinder www.kellerkinder.xyz

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

View File

@ -1 +1 @@
0.3.5 0.3.7