Been practising writing Python scripts to be added to OBS software.
Anything in a directory (e.g. FE_GBA-stream) is specifically for my own stream DNKabs.
For scripts outside any directroy, I've tried to make them for generic use.
Feel free to use any of it, though I can't guarantee performance.
The Python scripting documentation can be found here
I've been using the following for the OBS python scripts:
- OBS 26.1.1
- Windows 10 64-bit
- Python 3.6.8
OBS specifically requires Python 3.6.
Python 3.6.8 seems to be the latest version available for Windows, which you can get here (download the executable installer relevant to your OS).
After installing Python, go to OBS and then Tools > Scripts > Python Settings
and provide the Python install path. If you're unsure, open the Python 3.6
app run the following:
>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
Once the install path has been added, go to the Scripts
tab, add whatever script you'd like and enjoy!
This script allows you to show the title of a selected window on stream.
This was inspired by wanting to show YouTube music being played whilst streaming.
Select a Text source to show the title, and the window title to show. There's also an option to remove initial bracketed numbers, for example, the (n)
for notifications.
This script will "type out" each line of a text source.
The speed of the wipe and the length of the pause between each line can be controlled.
Currently in progress
OBS supports text scrolling, but doesn't support periodic pauses between lines.
This would give the viewer some time to read each line before moving on to the next.
I followed this tutorial to create a bot for the channel (with some help from this video).
Not quite sure what it'll do yet...I'll keep you posted.