Skip to content

How to update text source with SetSourceSettings? #67

Answered by aatikturk
AndiLeni asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

you can do it with set_input_settings following below steps:

  1. Import the library and connect to obs
import obsws_python as obs
cl = obs.ReqClient(host='localhost', port=4455, password='yourpassword', timeout=3)
  1. Let's say your text input's name is mytextinput.
text_input = 'mytextinput'
data = {'text': 'some new text here'}
cl.set_input_settings(text_input, data, True)

If you use help function on set_input_settings method you can see the parameter definition and types.

In [5]: help(cl.set_input_settings)
Help on method set_input_settings in module obsws_python.reqs:

set_input_settings(name, settings, overlay) method of obsws_python.reqs.ReqClient instance
    Sets the settings of an 

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by onyx-and-iris
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #52 on July 10, 2025 21:26.