essential-actions

Clone or download

[OBS] - [SetCurrentScene] - Updated to use new Action API, Cleanup

Modified Files

--- '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 @@
<groupId>com.stream-pi</groupId>
<artifactId>obssuite_setcurrentsceneaction</artifactId>
- <version>2.0.0</version>
+ <version>2.0.1</version>
<build>
<plugins>
@@ -39,7 +39,7 @@
<properties>
<ActionAPIVersion>1.0.0-SNAPSHOT</ActionAPIVersion>
<UtilVersion>1.0.0-SNAPSHOT</UtilVersion>
- <OBSSuiteMotherVersion>2.0.0</OBSSuiteMotherVersion>
+ <OBSSuiteMotherVersion>2.0.1</OBSSuiteMotherVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
--- '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();