Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_soundboard-1.0.5.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_soundboard-1.0.5-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file simple_soundboard-1.0.5.tar.gz.

File metadata

  • Download URL: simple_soundboard-1.0.5.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for simple_soundboard-1.0.5.tar.gz
Algorithm Hash digest
SHA256 86b845a2dd9acbb61b52febc7b8f11ea74aa1cbbd362c64fbe0c3b5e83ef570e
MD5 f0f6172e3efae70c9234cb6c842f878f
BLAKE2b-256 75504f3313021c71a172048466744cae9ab17daca66b25bf82311dd9517188e6

See more details on using hashes here.

File details

Details for the file simple_soundboard-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_soundboard-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9d9db42de7810aba6dc9e6148d15412163db8f11c0d04b15729db884d9c1ae91
MD5 babd49ba451e558d56dd874bf34b34e9
BLAKE2b-256 f3b20e84b704f1e6d7f2f07ca30b693cfeffad0a1fe63407c3e00bcd722291cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page