https://github.com/cmfcmf/snapcast-control
A simple web interface to control Snapcast, including limited support for Mopidy.
https://github.com/cmfcmf/snapcast-control
python react snapcast
Last synced: 7 months ago
JSON representation
A simple web interface to control Snapcast, including limited support for Mopidy.
- Host: GitHub
- URL: https://github.com/cmfcmf/snapcast-control
- Owner: cmfcmf
- License: mit
- Created: 2017-12-22T19:18:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T01:40:10.000Z (over 2 years ago)
- Last Synced: 2024-10-11T22:13:20.086Z (12 months ago)
- Topics: python, react, snapcast
- Language: TypeScript
- Homepage:
- Size: 1.57 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snapcast Control Web Interface

A web interface for [Snapcast](https://github.com/badaix/snapcast).
It allows you select which stream is played on which client.
It also has support to select local radio and files from Mopidy instances.
Currently, the UI is in German. If you are interested in using an English version, please open an issue.## Installation
```bash
sudo apt install python3 python3-pip
sudo pip3 install -r requirements.txtcd frontend-react
yarn install && yarn build
```Add an entry to crontab to start snapcast-control after booting:
```bash
sudo crontab -e # sudo is only needed for ports < 1000
``````crontab
@reboot sleep 10 && /absolute/path/to/snapcast-control/server.py --port 80
```## Development
Server:
```
sudo apt install python3 python3-venv
python3 -m venv .venv
source .venv/bin/activate
python server.py --debug --port 8080
```Client:
```
cd frontend-react
yarn install && yarn start
```## SnapCast Update
```
cd ansible
ansible-playbook playbook.yml
```