obs-websocket
obs-websocket copied to clipboard
Bug: GetProfileList not returning full profile list after creating profile with websocket
Operating System Info
Windows 11
Other OS
No response
OBS Studio Version
Other
OBS Studio Version (Other)
31.0.1
obs-websocket Version
5.1.0
OBS Studio Log URL
https://obsproject.com/logs/bwLPTXpGmd3idciZ
OBS Studio Crash Log URL
No response
Expected Behavior
After creating a new profile with CreateProfile, calling GetProfileList should include the newly created profile in the list.
Current Behavior
After creating a new profile with CreateProfile, the new profile is not included in the GetProfileList response.
client.send("CreateProfile", data={"profileName": "test"})
resp = client.send("GetProfileList", raw=True)
print(resp) # {'currentProfileName': 'Untitled', 'profiles': ['Untitled']}
Steps to Reproduce
- Create a new profile with CreateProfile
- Call GetProfileList and print the response
Anything else we should know?
If I create the profile manually then the new profile is included in the GetProfileList response. I think this is a new bug because this used to pass in our tests.