obs-websocket icon indicating copy to clipboard operation
obs-websocket copied to clipboard

Bug: GetProfileList not returning full profile list after creating profile with websocket

Open onyx-and-iris opened this issue 1 year ago • 0 comments

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

  1. Create a new profile with CreateProfile
  2. 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.

onyx-and-iris avatar Feb 10 '25 16:02 onyx-and-iris