Compare commits

...

2 Commits

Author SHA1 Message Date
kohlerpop1
d777559366 Fix accidental pom.xml comment! 2025-07-19 20:11:29 -04:00
kohlerpop1
567a952c00 Add Paused state for live data due to false positive of returning HostNotFound when they were only paused! 2025-07-19 20:10:29 -04:00
3 changed files with 2 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ public class LiveData {
public enum LiveStatus {
HostNotFound,
HostOnline,
HostPaused,
HostOffline,
}

View File

@@ -61,6 +61,7 @@ public class LiveDataMapper {
var statusId = status.getAsInt();
var statusValue = switch (statusId) {
case 2 -> LiveData.LiveStatus.HostOnline;
case 3 -> LiveData.LiveStatus.HostPaused;
case 4 -> LiveData.LiveStatus.HostOffline;
default -> LiveData.LiveStatus.HostNotFound;
};

View File

@@ -78,7 +78,6 @@
</execution>
</executions>
</plugin>
</plugins>
</build>