From: Debayan Sutradhar Date: Tue, 01 Jun 2021 01:03:41 +0530 Subject: [OBS] - [Mother] - Updated to work with new action api, Refactored, Clean up --- [OBS] - [Mother] - Updated to work with new action api, Refactored, Clean up --- --- 'a/obssuite/mother/.gitignore' +++ b/obssuite/mother/.gitignore @@ -5,4 +5,4 @@ target/ .factorypath .project .settings/ -obssuite_motheraction.iml \ No newline at end of file +*.iml \ No newline at end of file --- 'a/obssuite/mother/pom.xml' +++ b/obssuite/mother/pom.xml @@ -6,7 +6,7 @@ com.stream-pi obssuite_motheraction - 2.0.0 + 2.0.1 @@ -40,11 +40,12 @@ 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT 1.2.0 - + + 9.4.39.v20210325 + 2.8.6 UTF-8 11 11 - @@ -69,13 +70,13 @@ org.eclipse.jetty.websocket websocket-client - 9.4.39.v20210325 + ${JettyWebsocketClientVersion} com.google.code.gson gson - 2.8.6 + ${GsonVersion} --- 'a/obssuite/mother/src/main/java/mother/Mother.java' +++ b/obssuite/mother/src/main/java/mother/Mother.java @@ -34,7 +34,7 @@ public class Mother extends NormalAction private Button connectDisconnectButton; @Override - public void initProperties() throws Exception + public void initProperties() throws MinorException { Property urlProperty = new Property("url", Type.STRING); urlProperty.setDisplayName("URL"); @@ -58,7 +58,7 @@ public class Mother extends NormalAction } @Override - public void initAction() throws Exception + public void initAction() throws MinorException { MotherConnection.setPass(getPassword()); MotherConnection.setUrl(getURL()); --- 'a/obssuite/mother/src/main/java/mother/motherconnection/MotherConnection.java' +++ b/obssuite/mother/src/main/java/mother/motherconnection/MotherConnection.java @@ -12,7 +12,7 @@ public class MotherConnection { private static OBSRemoteController obsRemoteController = null; - public static final Version VERSION = new Version(2,0,0); + public static final Version VERSION = new Version(2,0,1); private static String url = null; private static String pass = null;