Нет описания

Colin Powell 0cac2e0a47 Add primary artist mopidy URI to POST 2 лет назад
mopidy_webhooks 0cac2e0a47 Add primary artist mopidy URI to POST 2 лет назад
tests bbd1f5b5b7 Initial commit 2 лет назад
.gitignore bbd1f5b5b7 Initial commit 2 лет назад
LICENSE bbd1f5b5b7 Initial commit 2 лет назад
MANIFEST.in bbd1f5b5b7 Initial commit 2 лет назад
README.md 2edf49e78e Move README to markdown 2 лет назад
pyproject.toml bbd1f5b5b7 Initial commit 2 лет назад
setup.cfg ff5f9e0c3e Bump version to 0.2.2 2 лет назад
setup.py bbd1f5b5b7 Initial commit 2 лет назад
tox.ini bbd1f5b5b7 Initial commit 2 лет назад

README.md

Mopidy-Webhooks

Mopidy <https://www.mopidy.com/>_ extension for sending mopidy play status to arbitrary URL endpoints

Installation

Install by running::

sudo python3 -m pip install Mopidy-Webhooks

Configuration

To enable this extension, make sure to add the following variables to your Mopidy configuration file. Note that multiple URLs can be sent to by separating them with a comma. Tokens match the listing of urls::

[webhooks]
enabled = true
urls = https://example.com/api/receiver/,http://127.0.0.1:8000/webhook/
tokens = ,2349080989234089

The following configuration values are available:

  • webhooks/enabled: If the webhooks extension should be enabled or not. Defaults to disabled.
  • webhooks/urls: Comma-separated list of endpoints to send play data to
  • webhooks/tokens: Comma-separated list of tokens to send in the Authorization header for each URL

Project resources

  • Source code <https://code.unbl.ink/secstate/mopidy-webhooks>_
  • Issue tracker <https://code.unbl.ink/secstate/mopidy-webhooks/issues>_
  • Changelog <https://code.unbl.ink/secstate/mopidy-webhooks/releases>_

Credits

  • Author: Colin Powell <https://github.com/powellc>__