Add support for controlscriptparams

This commit is contained in:
badaix 2022-07-13 14:14:00 +02:00
parent b71e303083
commit 60dc1aa48a
8 changed files with 24 additions and 10 deletions

View file

@ -11,6 +11,7 @@ source = pipe:///tmp/snapfifo?name=MPD&controlscript=meta_mpd.py
```
If a relative path is given, Snapserver will search the script in `/usr/share/snapserver/plug-ins`. An example script `meta_mpd.py` is shipped with the server installation, that can be used with mpd stream sources.
Paramters are passed to the control script using the `controlscriptparams` stream source parameter.
A Stream plugin must support and handle the following [requests](#requests), sent by the Snapcast server