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.
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.
[network]
ip = "192.168.17.11"
port = 9123
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
forfish
shell)
pip3 install -r requirements.txt
The code is then runnable as following:
python3 main.py
For debugging purposes:
python3 main.py --debug