Skip to main content

Mopidy extension for controlling a local Snapcast client

Project description

Mopidy-Snapduck

Mopidy extension that controls its own instance of the Snapcast client.

In a multi-room, multi-Mopidy configuration the sound card of a room speaker is either owned by Snapcast client or by the local Mopidy instance. This extension will start snapclient when Mopidy is stopped and stop it when Mopidy is playing.

Installation

Install by running:

sudo python3 -m pip Mopidy-Snapduck

Configuration

Before starting Mopidy, you must add configuration for Mopidy-Snapduck to your Mopidy configuration file::

[snapduck]
snapclient_path = /path/to/snapclient
snapclient_args = arguments_for_snapclient

The following configuration values are available:

  • snapduck/enabled: If the snapduck extension should be enabled or not. Defaults to true.
  • snapduck/snapclient_path: Path to the snapclient executable. Defaults to /usr/bin/snapclient.
  • snapduck/snapclient_args: Arguments for snapclient. Defaults to none.

ALSA

When using ALSA Mopidy will not release the sound card immediately after stopping, so it is recommended to configure a dmix device to enable shared access between Mopidy and the Snapcast client.

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

Mopidy-Snapduck-1.0.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

Mopidy_Snapduck-1.0.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file Mopidy-Snapduck-1.0.0.tar.gz.

File metadata

  • Download URL: Mopidy-Snapduck-1.0.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1+

File hashes

Hashes for Mopidy-Snapduck-1.0.0.tar.gz
Algorithm Hash digest
SHA256 369de80fe975a61a067766f542d1b8d40aaf1bc85644a6146f159c11602e9b25
MD5 349c1088a00a3a3d5ced65b2af30e8c3
BLAKE2b-256 97fef99ec1b1edf540c78786da96934f46c8fb63cb6bc8e7489252d6f144263e

See more details on using hashes here.

File details

Details for the file Mopidy_Snapduck-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: Mopidy_Snapduck-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1+

File hashes

Hashes for Mopidy_Snapduck-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1974917763745cfb0334bb091823d1c955c0c45f0cd243d8d24c42bb61839413
MD5 3ceb68ce1c2137258cadaf3af29010bf
BLAKE2b-256 8544641a2a67bedab3a4f46714f1648603765ce6d6be689b356c85f944e05277

See more details on using hashes here.

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