From: Debayan Sutradhar Date: Tue, 01 Jun 2021 12:13:06 +0530 Subject: [OBS] - [SetCurrentScene] - Updated to use new Action API, Cleanup --- [OBS] - [SetCurrentScene] - Updated to use new Action API, Cleanup --- --- 'a/obssuite/setcurrentscene/.gitignore' +++ b/obssuite/setcurrentscene/.gitignore @@ -1,6 +1,7 @@ .idea/ target/ +*.iml .classpath .factorypath .project --- 'a/obssuite/setcurrentscene/pom.xml' +++ b/obssuite/setcurrentscene/pom.xml @@ -6,7 +6,7 @@ com.stream-pi obssuite_setcurrentsceneaction - 2.0.0 + 2.0.1 @@ -39,7 +39,7 @@ 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT - 2.0.0 + 2.0.1 UTF-8 11 --- 'a/obssuite/setcurrentscene/src/main/java/setcurrentscene/SetCurrentScene.java' +++ b/obssuite/setcurrentscene/src/main/java/setcurrentscene/SetCurrentScene.java @@ -20,7 +20,7 @@ public class SetCurrentScene extends Nor } @Override - public void initProperties() throws Exception + public void initProperties() throws MinorException { Property currentSceneProperty = new Property("scene", Type.STRING); currentSceneProperty.setDisplayName("Scene Name"); @@ -33,7 +33,7 @@ public class SetCurrentScene extends Nor } @Override - public void onActionClicked() throws Exception + public void onActionClicked() throws MinorException { String scene = getClientProperties().getSingleProperty("scene").getStringValue();