Repository navigation
Add explicit OBS output commands - #30327
chris-cald wants to merge 1 commit into
Conversation
|
Thank you for your first contribution! 🎉 🔔 @Yukaii @j3lte @RealCyGuy you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. 📋 Quick checkout commandsBRANCH="agent/obs-control-explicit-output-commands"
FORK_URL="https://github.com/chris-cald/extensions.git"
EXTENSION_NAME="obs-control"
REPO_NAME="extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days. |
Greptile SummaryThe PR adds idempotent OBS recording, streaming, virtual-camera, and replay-buffer commands, plus argument-driven scene selection and automatic OBS launching.
Confidence Score: 4/5The PR does not yet appear safe to merge because OBS can launch successfully while the requested command still fails when its WebSocket server takes more than three seconds to become ready. The connection helper performs only one retry after a fixed three-second delay, and callers surface that retry's rejection without polling or making a later attempt, so slower OBS startups still leave the previously reported command failure reachable. Files Needing Attention: extensions/obs-control/src/lib/obs.ts Important Files Changed
Reviews (2): Last reviewed commit: "Add explicit OBS output commands" | Re-trigger Greptile |
2ebb493 to
a6727f9
Compare
|
This pull request has been automatically marked as stale because it did not have any recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊 |
|
This pull request has been automatically closed due to inactivity. Feel free to comment in the thread when you're ready to continue working on it 🙂 You can also catch us in Slack if you want to discuss this. |
|
Continued in #31371. The branch has been rebased onto current main, the fixed three-second OBS startup delay has been replaced with bounded WebSocket readiness polling, and the replacement PR is ready for review. |
Summary
Adds explicit Raycast commands for OBS output controls, alongside the existing toggle commands:
The new commands check the current OBS output state before sending start/stop/pause/resume requests, so they are safe to bind to automation workflows and keyboard shortcuts where an idempotent command is preferable to a toggle.
Set Scenenow also accepts an optionalsceneNameargument. When supplied, the command switches directly to the matching scene. If no scene name is supplied and OBS only has one scene, it selects that scene automatically. Otherwise, the existing scene picker opens as before.This also updates OBS connection handling to launch OBS Studio automatically when it is installed but not already reachable over WebSocket, then retries the connection once.
Validation
npm run lintnpm run build