Bluefissure / Dalamud-OBS

A Dalamud plugin to control obs
11 stars 11 forks source link

Add extra slash commands for increased control over OBS in-game. #29

Closed Rietty closed 1 month ago

Rietty commented 1 month ago

As the description states, this PR adds in commands for the following:

stream start/stop
replay start/save/stop
record start/pause/resume/stop
scene change
audio mute/unmute

The replay method will echo the saved file-name in echo chat, the scene change will switch between scenes given the name of the scene to be changed to and the audio commands will mute/unmute a specific audio source.

While I couldn't exactly do what I wanted to when I set out with this, it's still useful. Takes care of: #28 and #27.

P.S. Updated default port to 4455 to be in-line with latest obs-websocket 5.X releases.

Bluefissure commented 1 month ago

Thank you for the contribution!

Rietty commented 1 month ago

@Bluefissure Noticed a small bug but I'm not sure how to fix it, hence why I didn't make a PR myself... but if you use one of the new slash commands and OBS is not open/connected. Game freezes/crashes.

Bluefissure commented 1 month ago

@Bluefissure Noticed a small bug but I'm not sure how to fix it, hence why I didn't make a PR myself... but if you use one of the new slash commands and OBS is not open/connected. Game freezes/crashes.

It's sychonized call for that library so it hangs the game main thread, made a simple fix and made the update PR https://github.com/goatcorp/DalamudPluginsD17/pull/4305