mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +02:00
Document onstart/onstop params for spotify
This commit is contained in:
parent
1353d01a5a
commit
c5bbef1053
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ Snapserver supports [shairport-sync](https://github.com/mikebrady/shairport-sync
|
|||
### Spotify
|
||||
Snapserver supports [librespot](https://github.com/plietar/librespot) with `pipe` backend.
|
||||
1. Build and copy the `librespot` binary somewhere to your `PATH`, e.g. `/usr/local/bin/`
|
||||
2. Configure snapserver with `-s "spotify:///librespot?name=Spotify[&username=<my username>&password=<my password>][&devicename=Snapcast][&bitrate=320]"`
|
||||
2. Configure snapserver with `-s "spotify:///librespot?name=Spotify[&username=<my username>&password=<my password>][&devicename=Snapcast][&bitrate=320][&onstart=/usr/bin/logger -t Snapcast Starting spotify...][&onstop=/usr/bin/logger -t Snapcast Stopping spotify...]"`
|
||||
* Valid bitrates are 96, 160, 320
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue