URL/API Source: Live Data, Media and AI on OBS Made Simple

URL/API Source: Live Data, Media and AI on OBS Made Simple v0.4.0

Great plugin, thank you very much. Have got it pulling data via a CSS selector. Having real trouble displaying images from a website. Is there a screenshot you can share of what the settings should look like please?
 
Thank you for creating the plugin! However, I'm not very skilled with programming, and I'm unsure how to use the Postprocess Regex and Replace features for XML type. Is there any tutorial available for reference?

Currently, I’m using https://www.cwa.gov.tw/rss/Data/cwa_warning.xml as the source, with the XPath set to //description/text(). However, the output contains some strange symbols, like [","], and I'm not sure how to remove them.
 

Attachments

  • p.png
    p.png
    215.5 KB · Views: 180
Thank you for creating the plugin! However, I'm not very skilled with programming, and I'm unsure how to use the Postprocess Regex and Replace features for XML type. Is there any tutorial available for reference?

Currently, I’m using https://www.cwa.gov.tw/rss/Data/cwa_warning.xml as the source, with the XPath set to //description/text(). However, the output contains some strange symbols, like [","], and I'm not sure how to remove them.
I’ve managed to solve the issue!
I went into the Setup Outputs button and changed {{output}} to {{output1}}{{output2}}{{output3}} to concatenate each value, and it worked perfectly.
 
This is an amazing plugin!

I am trying to set up a livestream for a local cricket team, which uses a scoring app called Play HQ. Their API documentation is here.

After a lot of bother, I got an API key from the company (yay!) and now I want to enter it into OBS in order to show live scores. It doesn't seem as straightforward as I was expecting though :(

Is there anyone who can hold my hand through this process? I feel like such an idiot.
 
I use a box that pulls score information for sports. For the most part using a browser source is good but for some data, like possession of the ball, it only returns a 1 or 2. Is there a way to use this plugin with the url like

when it returns a 1 it shows one image if it returns a 2 it shows another?
thank you
 
How can I take the output from an API source (e.g., the color name "orange") and then use that as the background-color in another API output template as part of the CSS?

Specifically: I have on API source that contains some information text (call it "&.notice") and another part of the same API that has the color attributed to that type of notice (call it "&.color"). Indivudally, I can easily display both the notice and the color on the screen. However, I would prefer to display only the "notice" and then have the "color" act as the background-color for that notice. This way, on screen, I'll have an orange colored background behind the notice.
 
When I parsing JSON, when the return value is empty because I am parsing out everything. It will display the response body on output. How can the output be empty or replace it with a text "empty" on output?
 
Is anyone else having issues with the output url not showing Images even though the link works and the output from the json is correct?
 
Is anyone else having issues with this source outputting images? The URLs that I'm sourcing are set properly but the URL Source can't load it for some reason.
1759774658253.png
 
royshilkrot updated URL/API Source: Live Data, Media and AI on OBS Made Simple with a new update entry:

v0.4.0

What's New in 0.4.0​

This release brings the obs-urlsource plugin up to date with the latest OBS Studio infrastructure and build tooling, ensuring compatibility with the newest versions of OBS Studio, macOS, and development tools.

️ Build System Modernization​

The entire build system has been synchronized with the latest OBS plugin template, bringing significant improvements to the...

Read the rest of this update entry...
 
not sure if this is the right place to report, but after updating OBS to latest version (32.0.3 on MAC OS) it seems like the plugin causes to hang OBS while switching scenes once or twice. Turning off the plugin solves this issue, when reactivating it reappears.
 
not sure if this is the right place to report, but after updating OBS to latest version (32.0.3 on MAC OS) it seems like the plugin causes to hang OBS while switching scenes once or twice. Turning off the plugin solves this issue, when reactivating it reappears.
nevermind, issue was due to a network timeout. But still wondering why OBS got hung
 
So I finally figured out when to use "JSON pointer" (single value extraction) and "JSONPath" (multi value extraction), but when I use a query of values I can get only double quoted output...is there any way to remove them?

Screenshot 2025-12-15 144655.png
 
Does anyone have simple instructions for the OBS URL Plugin version 0.4? I downloaded the Windows 64 file and there's no Installer.exe
 
Back
Top