Music

List sound inputs

GET/api/audio/sources
Open. Open to everyone who can reach Tempolight.

Sound inputs the server can capture from (turn capture on in Settings).

Responses

200OKapplication/json
object[]
idstring
labelstring
Request
curl 'http://localhost:8080/api/audio/sources'
Response
[
  {
    "id": "pulse:alsa_output.monitor",
    "label": "Speakers (monitor)"
  }
]
Edit on GitHub