Lycanthrope -R-
New Member
Oops. Must've missed that. Thanks for pointing it out.2. You can configure how the plugin will behave in regard to transition overrides on the General tab.
Oops. Must've missed that. Thanks for pointing it out.2. You can configure how the plugin will behave in regard to transition overrides on the General tab.
Having this same issue!I am very sorry about that!
I will try to look into it as soon as I can (which probably will only be tomorrow, unfortunately).
Which version of the advanced scene switcher are you using?
Which OS are you using?
I thought I had tested the latest advanced scene switcher release with the OBS 32 beta releases and it was working fine.
I will make sure to verify that again tomorrow.
If you haven't done so already it might be worth a shot simply installing the most recent release once again.
Pinging @Daniel-House-1242 since he reported the same problem.
Just to avoid a misunderstanding: You seem to facing a different kind of issue.Having this same issue!
On Windows 11
Using Advanced Scene Switcher 1.31.0
OBS Version 32.0.01
Plugin no longer works, and brings up the prompt, "The plugin installation seems to be corrupted and might crash! Please make sure the plugin was installed correctly!". Was working fine before updating my OBS about a couple weeks ago. Thank you in advance for the help!
Hi again,I will try to look into it.
What do your macros look like?
Maybe I can think of a workaround.
That should be doable using a macro like this:
View attachment 115862
You will of course have to adapt the channel name, the "!MyChatTrigger", and scene accordingly.
You can find a first release which supports getting sources from other canvas' such as the Aitum Vertical plugin here on GitHub:Hi again,
I can see that Exeldro has now updated the Aitum Vertical plugin to 1.6.1 with:
- Add option for other plugins to get and switch scene
Could you please look into this so that our vertical scenes/sources based on the new OBS canvas system could be used again in our Advanced Scene Switcher macros?
99% of my macros are currently based on Scene Item visibility leading to a chain reaction once a vertical source is shown.
The most likely scenario is that at some point you have manually moved the location of your OBS installation.Hello! So I had updated both OBS and Advanced Scene Switcher to the latest versions, but Adv Scene Switcher is not showing up underneath the TOOLS tab. I've tried uninstalling and reinstalling multiple times to no avail, and would just like some insight about the problem with a possible fix. Has this problem come up before?
I went and installed OBS and all under the C Drive, and things were recognized instantly. Thank you so much!The most likely scenario is that at some point you have manually moved the location of your OBS installation.
In that case the installer is assuming OBS is at a different location on your filesystem compared to where it actually is and puts the files in the wrong location.
You can work around this problem by manually installing the plugin using the contents of the zip archive.
![]()
Installation
An automation tool for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.github.com
from pythonosc.tcp_client import SimpleTCPClient
def main():
ip = "192.168.178.27"
port = 16284
preset_id = 0
client = SimpleTCPClient(ip, port)
client.send_message("/OBSBOT/WebCam/Tiny/TriggerPreset", [0, preset_id])
print(f"Sent OSC message to /OBSBOT/WebCam/Tiny/TriggerPreset with preset_id={preset_id}")
if __name__ == "__main__":
main()
Thank you for the reply!Just to avoid a misunderstanding: You seem to facing a different kind of issue.
The original problem was indeed an outdated installation of the plugin being used, which was very old and thus not compatible with OBS 32.
At least the last 5 releases or so are all compatible with OBS 32.
The problem on your end seems to be a partial / corrupted installation of the plugin.
The plugin tries to create the default macro condition and action and fails to do so and thus you see this message.
Did you manually install the plugin or use the installer?
Or you using OBS in "portable" mode?
Did you ever manually move your OBS installation to a different folder?
You can find more information about how to install the plugin manually without the installer here:
![]()
Installation
An automation tool for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.github.com
Can you share a screenshot how you have set up your macro to execute the python script?Hi, sorry if this has been asked before, but what I found about "python" in this discussion did not fit my question.
I have set up the plugin and it is working. Before I sent a hotkey as a trigger action. But now I wanted to execute a python script when I switch scenes. However the script does not seem to get executed.
How can I get the log the python script spits out?
This is my code:
Python:from pythonosc.tcp_client import SimpleTCPClient def main(): ip = "192.168.178.27" port = 16284 preset_id = 0 client = SimpleTCPClient(ip, port) client.send_message("/OBSBOT/WebCam/Tiny/TriggerPreset", [0, preset_id]) print(f"Sent OSC message to /OBSBOT/WebCam/Tiny/TriggerPreset with preset_id={preset_id}") if __name__ == "__main__": main()
I want to send the command to my OBSBOT camera to set it to a preset. When I execute the script in VS Code it works.
Thanks for the update!Thank you for the reply!
I had tried to reinstall the program before to see if that was the issue, but since I did a manual install, it probably didn't install properly. After following your guide I was able to reinstall the plugin properly this time!
Before updating my OBS to OBS 32, I had no issue with the plugin, but after, it had stopped working. After reinstalling and seeing the plugin was now working properly but not running my macros, I checked my plugin settings and realized half of my macros had been reset. More specifically, the part of every macro after the "If this, then this.." the "..then this" part was reset to be blank. It got reset with the update I assume, but I was able to set it back up and get it working! So for anyone having this particular problem, I suggest checking if you're having the same issue and following my steps! A bit confusing, but I'm glad to be back to being able to use the plugin!!
Thanks and sorry! I will look into it!Hello!
For some reason, the issue still persists occasionally, and reward events from Twitch sometimes don't arrive. I'm attaching the relevant logs.
Thank you!
This has happened very rarely since your last update. But yesterday, it happened almost every time I received events from Twitch.Can you share a screenshot how you have set up your macro to execute the python script?
The most likely problems, if you are using the "Run" action are:
If you are using the "Script" action it should be as simple as just pasting the code from your "main" function into the "run" function, and adding the required imports.
- A relative path is used and thus the file cannot be found.
- The script path is not passed correctly to the python executable.
Should look something like this:
View attachment 116208
Thanks for the update!
I assume this might have been caused by the plugin running but not being fully initialised due to the broken install.
It only kept the part of the settings it was able to "understand" and discarded the rest.
I added code to still keep the settings even it doesn't understand them at the moment with the recent beta release.
So hopefully those types of issues will resolves themselves in the future once the broken installation is fixed again.
Thanks and sorry! I will look into it!
Did it only happen yesterday or on other days as well?
(Background: Just want to make sure it is not simply a side effect of the AWS outage)
You will have to split the URL and the query parameter like this:Hi, I'm trying to figure out how to automate something. I have a scene, and I would like to send a JSON code to a device at a specific point. I have the Advanced Scene Switcher installed, and have the below setup. If I past that https code into a web browser it works perfect, however when I start "scene" and wait 5 secconds, it doesn't seem to trigger. I am very new to programing so I'm assuming I'm doing something wrong. how can I get this to work?
View attachment 116221
Thanks for your replyCan you share a screenshot how you have set up your macro to execute the python script?
The most likely problems, if you are using the "Run" action are:
If you are using the "Script" action it should be as simple as just pasting the code from your "main" function into the "run" function, and adding the required imports.
- A relative path is used and thus the file cannot be found.
- The script path is not passed correctly to the python executable.
Should look something like this:
View attachment 116208
import obspython as obs
from pythonosc.tcp_client import SimpleTCPClient
def run():
ip = "127.0.0.1"
port = 16284
preset_id = 0
client = SimpleTCPClient(ip, port)
client.send_message("/OBSBOT/WebCam/Tiny/TriggerPreset", [0, preset_id])
print(f"Sent OSC message to /OBSBOT/WebCam/Tiny/TriggerPreset with preset_id={preset_id}")
def run() and import obspython as obs I didn't know of. Where is the documentation for that?I assume the auto generated wrapper code enabling the communication with the advanced scene switcher is missing in your script file.Thanks for your reply
I used an absolute path, so that shouldn't be the issue.View attachment 116234
I changed it to an inline script, like in your screenshot: (note: I switched the IP settings but that stillt works executing from vs code)
Python:import obspython as obs from pythonosc.tcp_client import SimpleTCPClient def run(): ip = "127.0.0.1" port = 16284 preset_id = 0 client = SimpleTCPClient(ip, port) client.send_message("/OBSBOT/WebCam/Tiny/TriggerPreset", [0, preset_id]) print(f"Sent OSC message to /OBSBOT/WebCam/Tiny/TriggerPreset with preset_id={preset_id}")
Unfortunately that still doesn't work from OBS.
I know the condition is triggered because I put a System Tray message in the execution part just before the python part which shows up.
Also, thisdef run()andimport obspython as obsI didn't know of. Where is the documentation for that?