paissaheavyindustries / Triggernometry

Triggernometry is a plugin for Advanced Combat Tracker, intended to extend its built-in trigger system with a variety of different actions and configuration options.
MIT License
253 stars 48 forks source link

Update OBS actions for obs-websocket 5.x #77

Closed Makar8000 closed 1 year ago

Makar8000 commented 1 year ago

Updated OBS Actions for obs-websocket v5.x Also added a few new OBS actions:

It should be noted if released that obs-websocket 4 ->5 is a breaking change. Users must update their obs-websocket plugin to 5.x if they are using OBS v27 or below. For OBS v28, obs-websocket 5 comes built-in; however, v28 is currently only in beta.

The other breaking change is with Custom JSON Payloads. Users who rely on Custom JSON Payloads will need to make sure they are following the new protocol.

Example JSON format (old / 4.x):

{ 
  "request-type": "ResumeRecording",
  "message-id": "my-message-id" 
}

Example JSON format (5.x):

{ 
  "op": 6, 
  "d":  { 
    "requestType": "ResumeRecord", 
    "requestId": "my-message-id" 
  } 
}