Install meta_mopidy.py

This commit is contained in:
badaix 2022-07-14 11:51:17 +02:00
parent a31e67b621
commit 7a70e460a5
2 changed files with 3 additions and 3 deletions

View file

@ -10,8 +10,8 @@ A stream is connected to a plugin with the `controlscript` stream source paramet
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.
If a relative path is given, Snapserver will search the script in `/usr/share/snapserver/plug-ins`. Example scripts `meta_mpd.py` and `meta_mopidy.py` are shipped with the server installation, that can be used with mpd and mopidy stream sources.
Paramters are passed to the control script using the `controlscriptparams` stream source parameter. Snapserver will always pass the parameter `--stream=<id of the stream>` and, if HTTP is enabled, `--snapcast-port=<http.port>` and `--snapcast-host=<http.host>`
A Stream plugin must support and handle the following [requests](#requests), sent by the Snapcast server

View file

@ -127,7 +127,7 @@ else()
install(DIRECTORY etc/snapweb/
DESTINATION ${CMAKE_INSTALL_DATADIR}/snapserver/snapweb)
install(
FILES etc/plug-ins/meta_mpd.py
FILES etc/plug-ins/meta_mpd.py etc/plug-ins/meta_mopidy.py
PERMISSIONS
OWNER_READ
OWNER_WRITE