![]() |
2 anos atrás | |
---|---|---|
mopidy_webhooks | 2 anos atrás | |
tests | 2 anos atrás | |
.gitignore | 2 anos atrás | |
LICENSE | 2 anos atrás | |
MANIFEST.in | 2 anos atrás | |
README.md | 2 anos atrás | |
pyproject.toml | 2 anos atrás | |
setup.cfg | 2 anos atrás | |
setup.py | 2 anos atrás | |
tox.ini | 2 anos atrás |
Mopidy <https://www.mopidy.com/>
_ extension for sending mopidy play status to
arbitrary URL endpoints
Install by running::
sudo python3 -m pip install Mopidy-Webhooks
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 towebhooks/tokens
: Comma-separated list of tokens to send in the
Authorization header for each URLSource 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>
_Colin Powell <https://github.com/powellc>
__