Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The plugin does not detect OBS connection if OBS is started after MacroDeck #54

Open
MrMcKenzie opened this issue Apr 6, 2024 · 1 comment

Comments

@MrMcKenzie
Copy link

MrMcKenzie commented Apr 6, 2024

I've noticed that if you start MacroDeck first, then OBS, the plugin does not detect startup of OBS and then try to re-establish a connection. It only does this if the configuration button is clicked and a connection is established, or if the OBS toggle connection action is used. This stops the ability of using MacroDeck to open OBS before using OBS actions. This also forces the user to have to restart MacroDeck if OBS were to crash/restart mid session.

@MrMcKenzie MrMcKenzie changed the title Bug: The plugin does not detect OBS connection if OBS is started after MacroDeck [Bug] The plugin does not detect OBS connection if OBS is started after MacroDeck Apr 6, 2024
@Ulenspiegel
Copy link

I also think that there should be an option for retrying connection to OBS if there's none active (and a button is configured in macro deck), but in its absence, you can work around it by adding a condition to every OBS-controlling button, before the actual button action: if obs_default_connected (for default connection) is false, then toggle OBS connection. You may need to add a small delay inside if's body right after toggling connection, since connecting takes a moment and action will fail if there's no delay.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants