Skip to main content

webinterface to control a snapcast server

Project description

snapcastr

Snapcastr is a webinterface to control a snapcast server.

It is written in python with flask, wtforms and python-snapcast

getting started

install requirements

use your package manager, e.g. apt or pacman and install

  • python3
  • poetry

install

get source

$ git clone https://github.com/xkonni/snapcastr

install locally

$ cd snapcastr
$ poetry install

install system-wide

$ cd snapcastr
$ poetry build
$ sudo pip3 install dist/snapcastr-0.1.0.tar.gz

run/debug

run

show help

$ snapcastrd -h

usage: snapcastrd [-h] [--host host] [--port port] [--sc_host sc_host] [-c CONFIG] [-d]

snapcastr

optional arguments:
  -h, --help            show this help message and exit
  --host host           webinterface host
  --port port, -p port  webinterface port
  --sc_host sc_host, -s sc_host
                        snapcast host
  -c CONFIG, --config CONFIG
                        config file
  -d, --debug           debug mode

run the application

  • when installed locally
$ cd snapcastr
$ poetry run snapcastrd --sc_host=address_of_your_snapserver
  • when installed system-wide
$ snapcastrd --sc_host=address_of_your_snapserver

The address_of_your_snapserver might be 127.0.0.1 or localhost, if you are running snapcastr on the same machine as your snapserver. Snapcastr doesn't need to run with super user privileges (so you don't need to run it with sudo).

Be aware that the last used configuration is saved in $HOME/.config/snapcastr.json.

debug

to debug the application

  • when installed locally
$ cd snapcastr
$ poetry run snapcastrd -d [other-options]
  • when installed system-wide
$ snapcastrd -d [other-options]

use

Open http://localhost:5011 in your browser.

features

main screen

  • View general status, number of clients, streams, groups of clients main

clients

  • View connected clients and change their volume clients

groups

  • View the groups and the stream being played by each group groups

streams

  • View the status of the various streams available streams

roadmap, in no particular order

clients

  • rename
  • remove old

groups

  • rename
  • remove
  • add

streams

  • rename

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

snapcastr-0.2.0.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

snapcastr-0.2.0-py3-none-any.whl (12.6 kB view hashes)

Uploaded Python 3

Supported by

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