Comments (4)
Thanks for reading my feedback and keeping it in mind! Your explanation was clear and understandable. So I'll close the issue for now, and don't worry I'll find a way to optimize my macros. If I need any additional help, I'll post it on the OBS forum.
from sceneswitcher.
I will leave the issue open just in case I find myself having a lot of free time on my hand and want to work on this :)
And it will make it easier for others to find this issue in case they want to request something similar.
from sceneswitcher.
Thank you very much for the suggestion and extensive write-up!
I do agree that this would be a neat way to extend the functionality of the plugin, but I have to be honest and say that I likely won't have the time to implement something like this any time soon.
Feel free to contact me directly if you need support / ideas on how your current macro setup might be improved to avoid race conditions.
A possible less expensive solution is: In the "Macro" action of the plugin, where we define it to run actions from a specific macro, there could be a check box to wait for the conditions of the selected macro. Because currently, this action only runs the macro actions regardless of their conditions.
Adding the checkbox to the UI would be easy, but I think the functionality would be quite tricky to implement.
Since macros are executed sequentially this could very easily lead to deadlocks, which of course would be undesirable.
But I will keep it in mind and try to think of something.
from sceneswitcher.
Tasker is much more advanced and the prime example to be used for automation apps IMO (except that Automate is more user-friendly). E.g. with concept of states which are kind of like if/else here but more advanced and refined. Generally with more possibilities in terms of flow.
A possible less expensive solution is: In the "Macro" action of the plugin, where we define it to run actions from a specific macro, there could be a check box to wait for the conditions of the selected macro
This could be just replaced by "Run macro" action instead, which would do the whole flow of macro (condition -> if/else action), which would be more user-friendly. Or perhaps a different concept of "functions" runnable only from macro actions could be introduced, but that's even more work ofc.
Another workaround for your use case of TTS would be something like "wait until" action also available in Tasker. E.g. wait until a variable is set to value and then a macro that checks if a text file changes and sets a var to its contents. Then the command could modify the text file once earlier process finishes. But probably not easy to implement either with how this plugin works now.
from sceneswitcher.
Related Issues (20)
- Glitching "set to fixed value" field HOT 2
- Add the ability to set volume (dB) on scene switch HOT 5
- [Bug Report] Duplicated entries on Points Reward Redeemed HOT 1
- [Bug Report] "Change Scene" dropdowns don't work properly HOT 4
- How to use?? HOT 3
- Media macro option does not support Image Slideshow for "Any/All media source on" HOT 5
- Scene Item Visibility "is visible" not working as expected for Image Slide Show HOT 2
- better http action HOT 4
- variable find and replace in current value regular expression HOT 5
- disable macro condition HOT 4
- focus window action HOT 3
- macOS Window title matches are not grabbing the right name of the window HOT 2
- Sequence stops after first switch when streaming HOT 2
- Media Action - STOP all Media sources in a scene HOT 4
- Strange behavior using Transition for setting a source transition to fade HOT 6
- Invalid account used for Twitch chat action right after switching accounts HOT 2
- Opencv library fails with new install of AdvSS and OBS HOT 3
- "Else Action" is still executed when macro is disabled HOT 4
- "Wait process to exit" is gone? HOT 2
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.