Skip to content

Commit 84e6d08

Browse files
committed
Update documentation, use discovery 1.0.1
1 parent 952e01d commit 84e6d08

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The actions supported as of today:
9191
* queue
9292
* clearqueue
9393
* sleep (values in seconds)
94-
94+
* linein (only analog linein, not PLAYBAR yet)
9595

9696
State
9797
-----
@@ -407,6 +407,20 @@ The supported language codes are:
407407
| es-es | Spanish (Spain) |
408408
| sv-se | Swedish (Sweden) |
409409

410+
Line-in
411+
-------
412+
413+
Convenience method for selecting line in. Will select linein for zone-group, not detach it for line-in.
414+
Optional parameter is line-in from another player. Examples:
415+
416+
`/Office/linein`
417+
Selects line-in on zone Office belongs to, with source Office.
418+
419+
`Office/linein/TV Room`
420+
Selects line-in for zone Office belongs to, with source TV Room.
421+
422+
If you want to to isolate a player and then select line-in, use the `/Office/leave` first.
423+
410424
Spotify and Apple Music (Experimental)
411425
----------------------
412426

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sonos-http-api",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A simple node app for controlling a Sonos system with basic HTTP requests",
55
"scripts": {
66
"start": "node server.js"
@@ -16,7 +16,7 @@
1616
"anesidora": "^1.2.0",
1717
"node-static": "~0.7.0",
1818
"request-promise": "~1.0.2",
19-
"sonos-discovery": "https://github.com/jishi/node-sonos-discovery/archive/v1.0.0.tar.gz"
19+
"sonos-discovery": "https://github.com/jishi/node-sonos-discovery/archive/v1.0.1.tar.gz"
2020
},
2121
"engines": {
2222
"node": ">=4.0.0",

0 commit comments

Comments
 (0)