inactive browser source reloader

OBS Python inactive browser source reloader 2026-02-16

STRONGLY RECOMMENDED TO USE OBS VERSION 32.0.2

A Python script for OBS 32.0.2 that automatically reloads a "Browser" source if its audio disappears. Specifically designed for donation alerts and widgets that tend to "freeze" or lose connection.

Unlike other methods (such as xObsBrowserAutoRefresh etc.), this script will NOT refresh the page if a donation alert or requested audio is currently playing.

Python 3.10​

Key Features​

  • Auto Silence Detector: The script analyzes the source's audio activity in real-time.
  • Independent of Mixer: Works even if the source is muted in the OBS mixer, as long as the source itself (e.g., donation widget) is generating audio signals.
  • Hard Refresh: Utilizes the refreshnocache function to completely clear the cache during a reload.
  • Startup Protection: Features a built-in 10-second delay to prevent reloading while the page is still initialising after OBS starts.
  • Logging: Displays operational status in the OBS "Script Log" for easy debugging.

Installation and Setup​

  1. IMPORTANT: For the script to function correctly, the "Control audio via OBS" option must be checked in the properties of your Browser Source.
  2. Download the file: Save the code as refresherEN.py.
  3. Add to OBS:* Go to Tools -> Scripts.
    • Click the + button and select your file.
  4. Configure Python: * Ensure that the "Python Settings" tab points to your installed Python path (usually 3.10 or higher).
  5. Select Source: In the script settings, choose your browser source and set the timing (e.g., check every 5 sec, timeout 10 sec(recomended 2 and 300)).
    1771234723083.png
ONE SOURCE - ONE SCRIPT. Simply add as many copies of the script as you need for multiple sources.
Author
harbet333
Downloads
99
Views
254
First release
Last update

Ratings

0.00 star(s) 0 ratings
Back
Top