Add new showtype to online state mapping for Cam4 models

This commit is contained in:
0xb00bface 2021-03-06 14:39:53 +01:00
parent c9e5f8e36b
commit 052758b11e
2 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,8 @@
<appender-ref ref="GUI" />
</root>
<logger name="ctbrec.sites.cam4.Cam4Model" level="DEBUG"/>
<logger name="ctbrec.LoggingInterceptor" level="info"/>
<logger name="ctbrec.io.CookieJarImpl" level="INFO"/>
<logger name="ctbrec.recorder.FFmpeg" level="DEBUG"/>

View File

@ -84,6 +84,7 @@ public class Cam4Model extends AbstractModel {
case "GROUP_SHOW_SELLING_TICKETS":
case "GS_SELLING_TICKETS":
case "GS_SELLING_TICKETS_UNSUCCESSFUL":
case "GS_GOAL_REACHED":
onlineState = ONLINE;
break;
case "PRIVATE_SHOW":
@ -101,7 +102,7 @@ public class Cam4Model extends AbstractModel {
onlineState = OFFLINE;
break;
default:
LOG.debug("############################## Unknown show type [{}]", showType);
LOG.debug("############################## Unknown show type [{} {}]", this, showType);
onlineState = UNKNOWN;
}