url-text.py equivalent for Mac?

orcinus

New Member
Hi all,

I'm looking for a solution that will update a text source via polling a URL that'll work on Mac.
I'm aware of the existing url-text.py script, however my cursory search of this forum makes me think that Python support for Mac OBS is not supported yet.

I also went through the existing scripts/plugins and I don't think this has been reimplemented in Lua or a plugin.
I looked into implementing this in Lua, but it also looks like Lua doesn't have a native http client, and I'm not sure how one would add Lua libraries to OBS.

Are all my assumptions correct? Is there currently no off-the-shelf solution to update a text source via a URL for Mac? If I really wanted to accomplish this, would this need to be an OBS plugin?

Thanks in advance!
 

orcinus

New Member
Solution for future readers.

Python does work on Mac, I was confused because I was referencing an old forum post back in 2019 that stated Python was not working for Mac:
https://obsproject.com/forum/threads/python-scripting-dont-work-on-obs-22-0-3.99061/#post-386891

Instructions for OBS 25.0.7
1) Install python 3.7
> brew install python@3.7

2) In OBS, go to Tools > Scripts > Python Settings > Browse. Point OBS to the location of your Python 3.7 folder:
/usr/local/Cellar/python@3.7/3.7.8_1/Frameworks/Python.framework

3) Go back to Tools > Scripts > Scripts and add url-text.py

4) OBS logs are located at /Users/denis/Library/ApplicationSupport/obs-studio/logs if you continue to have issues
 
Top