/Elgato-Control-Center-SysTray

This project is a simple GTK-based Python executable that interfaces itself with the ecc-api written in RUST. It is meant to provide a lightweight GUI controller to simplify the usage of the API.

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Elgato-Control-Center-SysTray


Language Linux Github WAM

ECC

This project is a simple GTK-based Python executable that interfaces itself with the ecc-api written in RUST. It is meant to provide a lightweight GUI controller to simplify the usage of the API.

Config file

The script needs fetches the IP and port of the Elgato device via a config.toml file, it can be manually provided with the --config flag or be put in the ~/.config/elgatocontrolcenter/ directory.

Example

[network]
ip = "192.168.17.11"
port = 9123

Running the code

Before running the code it is essential to install the requirements.txt dependencies, it is recommended to use a python virtual environment:

python3 -m venv .venv
source .venv/bin/activate

Use the appropriate activate accordingly (eg. activate.fish for fish shell)

pip3 install -r requirements.txt

The code is then runnable as following:

python3 main.py

For debugging purposes:

python3 main.py --debug