Merge branch 'dev'

This commit is contained in:
0xboobface 2018-12-10 17:19:10 +01:00
commit d12770b1fc
6 changed files with 26 additions and 24 deletions

View File

@ -1,14 +1,14 @@
1.14.0 1.14.0
======================== ========================
* Added setting for MFC to ignore the upscaled (960p) stream * Added setting for MFC to ignore the upscaled (960p) stream
* Added event system. You can define to show a notification, * Added event system. You can define to show a notification, play a sound or
play a sound or execute a program, when the state of a model execute a program, when the state of a model or recording changes
or recording changes
* Added "follow" menu entry on the Recording tab * Added "follow" menu entry on the Recording tab
* Fix: Recordings change from suspended to recording by their own * Fix: Recordings change from suspended to recording by their own when a
when a thumbnail tab is opened and the model is showing thumbnail tab is opened and the model is showing
* Fix: Linux scripts don't work on system where bash isn't the * Fix: Linux scripts don't work on system where bash isn't the default shell
default shell * Improved loading and display of resolution tags. They are not re-loaded
everytime to switch between tabs
1.13.0 1.13.0
======================== ========================

View File

@ -8,7 +8,7 @@
<parent> <parent>
<groupId>ctbrec</groupId> <groupId>ctbrec</groupId>
<artifactId>master</artifactId> <artifactId>master</artifactId>
<version>1.13.0</version> <version>1.14.0</version>
<relativePath>../master</relativePath> <relativePath>../master</relativePath>
</parent> </parent>

View File

@ -12,6 +12,7 @@ import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Objects; import java.util.Objects;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -206,20 +207,21 @@ public class CamrecApplication extends Application {
} }
private void registerAlertSystem() { private void registerAlertSystem() {
// try { try {
// // don't register before 1 minute has passed, because directly after // don't register before 1 minute has passed, because directly after
// // the start of ctbrec, an event for every online model would be fired, // the start of ctbrec, an event for every online model would be fired,
// // which is annoying as f // which is annoying as f
// Thread.sleep(TimeUnit.MINUTES.toMillis(1)); Thread.sleep(TimeUnit.MINUTES.toMillis(1));
// } catch (InterruptedException e) {
// e.printStackTrace(); for (EventHandlerConfiguration config : Config.getInstance().getSettings().eventHandlers) {
// } EventHandler handler = new EventHandler(config);
for (EventHandlerConfiguration config : Config.getInstance().getSettings().eventHandlers) { EventBusHolder.register(handler);
EventHandler handler = new EventHandler(config); LOG.debug("Registered event handler for {} {}", config.getEvent(), config.getName());
EventBusHolder.register(handler); }
LOG.debug("Registered event handler for {} {}", config.getEvent(), config.getName()); LOG.debug("Alert System registered");
} catch (InterruptedException e) {
e.printStackTrace();
} }
LOG.debug("Alert System registered");
} }
private void writeColorSchemeStyleSheet(Stage primaryStage) { private void writeColorSchemeStyleSheet(Stage primaryStage) {

View File

@ -8,7 +8,7 @@
<parent> <parent>
<groupId>ctbrec</groupId> <groupId>ctbrec</groupId>
<artifactId>master</artifactId> <artifactId>master</artifactId>
<version>1.13.0</version> <version>1.14.0</version>
<relativePath>../master</relativePath> <relativePath>../master</relativePath>
</parent> </parent>

View File

@ -6,7 +6,7 @@
<groupId>ctbrec</groupId> <groupId>ctbrec</groupId>
<artifactId>master</artifactId> <artifactId>master</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>1.13.0</version> <version>1.14.0</version>
<modules> <modules>
<module>../common</module> <module>../common</module>

View File

@ -8,7 +8,7 @@
<parent> <parent>
<groupId>ctbrec</groupId> <groupId>ctbrec</groupId>
<artifactId>master</artifactId> <artifactId>master</artifactId>
<version>1.13.0</version> <version>1.14.0</version>
<relativePath>../master</relativePath> <relativePath>../master</relativePath>
</parent> </parent>