Resource icon

OBS Python Reset and overwrite source setting values 1

This OBS-Script can reset and overwrite values of a source. This can be done via a json file which contains the values for the update.

Bildschirmfoto vom 2024-06-27 01-29-01.png


But I can edit the values in the source setting and save them? Why Do I need a script for that?

Thats right, but sometimes there are cases, where you need to reset the values and then set `your values`. Hence, OBS don't let you change default settings, you need to this on your own.
This can be (or at least it was for me) really cumbersome.

Thus I coded this script, which can do this for me.

The Video freezes after pressing the reset button help?
No worries, you just have to click on the resource and open it and save it.
Unfortunately I don't know (yet) how to restart the source so that this will not happen.

Getting started

1. clone or download the repo or python file
2. Go to Tools->Scripts
3. load script into obs via file selector
4. press the load script button
5. Press `Print source settings` to see the source values
1. `NOTE: you need to open the script log to see the values`
6. write your JSON file which holds the value that needs to be updated / set using the printed values
7. select file that contains the values that will be used for the update
1. `NOTE: the values will be added to the source without checking if they are valid`
8. press `Reset source settings and update values`
9. additional: add a hotkey to the reset function

Features

- reset the source
- update values, defined in json
- hotkey for reset function


for more please visit the github repo
  • Bildschirmfoto vom 2024-06-27 01-07-24.png
    Bildschirmfoto vom 2024-06-27 01-07-24.png
    76.6 KB · Views: 44
Author
blackeye
Downloads
342
Views
792
First release
Last update
Rating
0.00 star(s) 0 ratings
Top