Skip to content

An automation project focused on streamlining the m3u creation process with the Open Broadcast Software API & WebSockets

Notifications You must be signed in to change notification settings

vondas-network/drop-zone-ops

Repository files navigation

Taking automation to new heights!

What is this?

An automation project focused on streamlining the m3u creation process and stream scheduling using the Open Broadcaster Software API & WebSockets. This project was put together to explore diy automated broadcasting for schwwaaa & subcarrier.tv. Influenced by obs-scheduler by cyberboy666.

How does it work?

Once the server is running, go to http://localhost:9999

Place files in the drop zone or click "Upload Folder" to upload content manually

Export m3U file to the root directory, example below

#EXTM3U
#EXTINF:0,highlight_video.mp4
highlight_video.mp4
#EXTINF:0,replay_video.mp4
replay_video.mp4

Schedule your stream

Once the stream is scheduled it will refresh the page and appear below

A new OBS scene is created with VLC as a source when the scheduled time happens

Project setup

Linux & MacOS

Install VLC

Download VLC here

Install the project requirements

pip install -r requirements.txt

Create Python virtual environment

In a nutshell, Python virtual environments help decouple and isolate Python installs and associated pip packages. This allows end-users to install and manage their own set of packages that are independent of those provided by the system or used by other projects.

 cd drop-zone-ops
 python -m venv env

Activate Python virtual environment

This will activate your virtual environment. Immediately, you will notice that your terminal path includes env, signifying an activated virtual environment.

source env/bin/activate

Windows 11/10

Install VLC

Download VLC here (* 64-bit only)

Install the project requirements

pip install -r requirements.txt

Video Demo

Screenflick.Movie.22.mp4

Current Bugs

  • Video files need to be in the root directory to properly encode as m3u8 playlist
  • Remove older streams from the schedule

Testing

  • Windows: 11 & 10 (64-bit only)
  • Linux: Ubuntu 24.04
  • MacOS: M1 Apple Silicon

Attributions