obs-scene-switcher

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2020 License: MIT Imports: 17 Imported by: 0

README

obs-scene-switcher

GoDoc Go ReportCard

obs-scene-switcher is a command-line remote control for OBS. It requires the obs-websocket plugin to be installed on your system.

Installation

Make sure you have a working Go environment (Go 1.11 or higher is required). See the install instructions.

To install obs-scene-switcher, simply run:

go get github.com/muesli/obs-scene-switcher

Configuration

Edit scenes.toml and define which scenes you want to be connected to which windows, e.g.:

[[away_scenes]]
    scene_name = "Be Right Back"

[[scenes]]
    scene_name = "IDE"
    window_class = "code-oss"

[[scenes]]
    scene_name = "Terminal"
    window_name = "Konsole"

[[scenes]]
    scene_name = "Browser"
    window_class = "Chromium"

In plain english, this means that whenever you focus your VS Code window, OBS will be asked to switch to the scene called IDE. If you focus your Konsole window it switches to the scene Terminal, and so on.

The away_scenes define scenes which, when currently active, temporarily stop automatic scene switching. This is useful for keeping special scenes active, like a "Be Right Back" mode you only want to manually disable again.

Usage

Start obs-scene-switcher:

obs-scene-switcher -config scenes.toml

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL