Skip to main content

webinterface to control a snapcast server

Project description

snapcastr

introduction

Snapcastr is a webinterface to control a snapcast server.

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

install from source or from pypi

install from source

requirements

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

  • python3
  • poetry

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

install from pypi

install locally

$ pip install snapcastr

install system-wide

$ sudo pip install snapcastr

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).

config

The last used configuration is saved in $HOME/.config/snapcastr.json and can also be edited.

access webinterface

When the application is running, open http://localhost:5000 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.1.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

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

snapcastr-0.2.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file snapcastr-0.2.1.tar.gz.

File metadata

  • Download URL: snapcastr-0.2.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.6.4-arch1-1

File hashes

Hashes for snapcastr-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9980dbda4232e8cf1c2239b225fbc92998961b6a9d0d98793161522bf08599ad
MD5 133782b67020dbe75f156e8c7b081c75
BLAKE2b-256 2a06e9ddd44f809d029a136017548e15b101c1d597be122898ed900120941ee5

See more details on using hashes here.

File details

Details for the file snapcastr-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: snapcastr-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.6.4-arch1-1

File hashes

Hashes for snapcastr-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9e0f6cc23ed5f2be8b4fbcb6122fccecb7c0945d6c32ee646d712cafa456b38
MD5 db17f7da9c666c312e0baacfae7c86c5
BLAKE2b-256 68a178446227eef0c8e530fd875d200edf1c5b82ab58f3bbac775fe3b6906d38

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