Simple Soundboard
Project description
Simple Soundboard
Simple soundboard web app that plays sounds on a central server
Installation
Install through pip with
pip install simple_soundboard
Usage
Edit config in ~/simple_soundboard/config.json
Start by running
simple_soundboard
MQTT API
MQTT Server is configured in ~/simple_soundboard/config.json MQTT API includes
simple_soundboard/stop_all
simple_soundboard/stop_sounds
simple_soundboard/fadeout
simple_soundboard/pause_music
simple_soundboard/resume_music
simple_soundboard/play/<topic_from_web_ui>
No payload required
The server output two MQTT topic
simple_soundboard/stopped_all
simple_soundboard/stopped_sounds
simple_soundboard/playing/<topic_from_web_ui> (If MQTT Topic is set)
will be published
TODO
- Make the config editable online
- Multiple music?
Development
git clone this project
Create a new venv
python3 -m venv --system-site-packages ./venv
Source it
source ./venv/bin/activate
Install all dependancies with poetry
poetry install
Install git hooks
pre-commit install
Upload to pypi
Source the venv
source ./venv/bin/activate
Install twine
pip install twine
Config your pypi credentials in the file ~/.pypirc
[pypi]
username = pypi_username
password = pypi_password
Run
poetry install
twine check dist/*
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for simple_soundboard-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8cbac2c91c6541364406edcd2f8288bb43ba7faa6c864afbc62b5b579916623 |
|
MD5 | cb2b7cffcedc78bb91786a64b7b9554c |
|
BLAKE2b-256 | b8677c13aa42551e677b17d3af7f3c94edbcb3a51cd3145db3015fda5bfc35d6 |