File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vmix-tally-app" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.2.2 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"serve" : " vue-cli-service serve" ,
Original file line number Diff line number Diff line change 36
36
<v-col cols =" 12" sm =" 8" >
37
37
<v-list-item two-line >
38
38
<v-list-item-content >
39
- <v-list-item-title class =" headline" >{{ tally.name }} </v-list-item-title >
39
+ <v-list-item-title class =" headline" >{{ tally.name }} ({{ tally.version }}) </v-list-item-title >
40
40
<v-list-item-subtitle >{{ getTitle(tally)}}</v-list-item-subtitle >
41
41
</v-list-item-content >
42
42
</v-list-item >
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ export default new Vuex.Store({
47
47
vmixHost : 0 ,
48
48
connection : { } ,
49
49
connectionState : 'CLOSED' ,
50
- ledState : 0
50
+ ledState : 0 ,
51
+ version : 'v?'
51
52
}
52
53
const connection = new WebSocket ( 'ws:/' + newTally . address + ":" + newTally . port ) ;
53
54
newTally . connectionState = 'CONNECTING' ;
@@ -71,6 +72,9 @@ export default new Vuex.Store({
71
72
case "vmixHost" :
72
73
newTally [ data [ 0 ] ] = data [ 1 ] ;
73
74
break ;
75
+ case "version" :
76
+ newTally [ data [ 0 ] ] = 'v' + data [ 1 ] ;
77
+ break ;
74
78
}
75
79
}
76
80
Original file line number Diff line number Diff line change 24
24
#define STATUS_CONNECTVMIX 5
25
25
26
26
#define CONFIG_FILENAME " /tally-config.cfg"
27
- #define VERSION " 0.2.1 "
27
+ #define VERSION " 0.2.2 "
28
28
29
29
// optional arguments fuction need to be defined
30
30
void setLedColor (uint32_t color, bool ignoreDisabledLeds=false );
@@ -256,6 +256,9 @@ String getSettingAsString(String settingKey)
256
256
if (settingKey == " ledState" ) {
257
257
return settingKey + " :" + String (ledState);
258
258
}
259
+ if (settingKey == " version" ) {
260
+ return settingKey + " :" + String (VERSION);
261
+ }
259
262
return " " ;
260
263
}
261
264
@@ -365,6 +368,9 @@ void sendAllSettings(uint8_t webSocketClientID)
365
368
366
369
reply = getSettingAsString (" ledState" );
367
370
webSocket.sendTXT (webSocketClientID, reply);
371
+
372
+ reply = getSettingAsString (" version" );
373
+ webSocket.sendTXT (webSocketClientID, reply);
368
374
}
369
375
370
376
void setLedColor (uint32_t color, bool ignoreDisabledLeds)
You can’t perform that action at this time.
0 commit comments