PlayFolder - Dynamic Folder-Based Media Player for OBS
This script automatically plays and loops all video files contained in a selected folder, using a specified Media Source in OBS Studio.
Key Features:
- Automatically scans a selected folder and builds a playlist of video files
- Plays videos sequentially and loops back to the first file when the list ends
- Dynamically updates the playlist when new files are added (triggered by OBS events)
- Starts playback when the scene/source becomes active
- Stops playback when the source is inactive (scene change)
- Fully controlled by scripting logic (no reliance on OBS loop settings)
- Supports common video formats (MP4, MOV, MKV)
Configuration:
- Create the Media Source
- Add the script
- In the Script panel, Select the Media Source from the dropdown (Media Source only)
- Choose the folder containing your video files
- Follow the required Media Source configuration instructions in the script panel
Objective:
Provide a simple, stable, and automated way to continuously play video files from a folder without manual playlist management, suitable for live production workflows.
Notes:
- Do not enable OBS internal looping options
- Do not use VLC Source (only Media Source is supported)
- Playback behavior is entirely managed by the script for maximum reliability
This script automatically plays and loops all video files contained in a selected folder, using a specified Media Source in OBS Studio.
Key Features:
- Automatically scans a selected folder and builds a playlist of video files
- Plays videos sequentially and loops back to the first file when the list ends
- Dynamically updates the playlist when new files are added (triggered by OBS events)
- Starts playback when the scene/source becomes active
- Stops playback when the source is inactive (scene change)
- Fully controlled by scripting logic (no reliance on OBS loop settings)
- Supports common video formats (MP4, MOV, MKV)
Configuration:
- Create the Media Source
- Add the script
- In the Script panel, Select the Media Source from the dropdown (Media Source only)
- Choose the folder containing your video files
- Follow the required Media Source configuration instructions in the script panel
Objective:
Provide a simple, stable, and automated way to continuously play video files from a folder without manual playlist management, suitable for live production workflows.
Notes:
- Do not enable OBS internal looping options
- Do not use VLC Source (only Media Source is supported)
- Playback behavior is entirely managed by the script for maximum reliability