Comments (2)
Thank you very much for the suggestion! :)
I havn't looked too much into the http action yet, but I am guessing that the body is manually configured when reading the docs here: https://github.com/WarmUpTill/SceneSwitcher/wiki/Http-action , I was wondering if it would be possible to get the body of the request from a file - I can have the python script update a file with the body required for the message: https://dev.streamelements.com/docs/api-docs/1e22a4ed3ad16-channel-say
This part should already be possible.
The http action does support using variables in body text area.
So you could use a macro setup similar to this one to assign the file contents to a variable named "File content":
You can then reference the variable in a Http action using the syntax ${variable name here}
.
So using the example from above something similar to this:
It requires a auth header
That I think is not yet possible at the moment and would have to be implemented.
I will add it to the todo list, but I am not sure yet when I will get around to it.
from sceneswitcher.
I implemented the option to set headers for the get and post requests in the http action.
A build with this change should be available here in a few minutes:
https://github.com/WarmUpTill/SceneSwitcher/actions/runs/4333431636
I would appreciate if you could give this a try and report back if you run into any issues :)
from sceneswitcher.
Related Issues (20)
- Can't Trigger AppleScripts HOT 6
- Macro not starting consistently on time HOT 3
- Feature: Detect if game is hooked or not (Game capture) HOT 1
- Feature Request:dock macro botton HOT 3
- Testing 1.21.0-beta1 mathematical expression with negative numbers
- version number of the deb pakage shows 1.0.0 although the latest version is installed. HOT 2
- Feat: Tray notification - choose monitor to display HOT 2
- OCR does not seem to detect any text HOT 2
- when I switch scene collection, all macro button docks are hidden HOT 2
- "Use patternmatching mode" value is not persisted between restarts HOT 2
- Feature Request - Set filename and path HOT 2
- 'If Idle' Loop glitch? HOT 4
- Feature Request: Device input detected HOT 1
- OBS Settings as actions/feedbacks HOT 5
- API For other Plugins HOT 9
- Feat: Title & Icon for tray notifications HOT 7
- Adding more docks features - Custom naming & several buttons in one dock HOT 2
- Websocket stuck on "connecting" HOT 9
- Plugin version 1.22.0 doesn't save changes in scene switching priority after restart OBS Studio 29.0.2 and 29.1.1.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sceneswitcher.