mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 10:17:16 +02:00
Install meta_mopidy.py
This commit is contained in:
parent
a31e67b621
commit
7a70e460a5
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue