Merge pull request #545 from chme/readme

[README] Add link to JSON API documentation
This commit is contained in:
ejurgensen 2018-06-08 20:53:32 +03:00 committed by GitHub
commit 428912d43f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -430,11 +430,9 @@ not necessary during normal operation.
You can choose between:
- a [MPD command line client](#mpd-clients) (easiest) like `mpc`
- curl with forked-daapd's JSON API
- curl with forked-daapd's JSON API (see [README_JSON_API.md](https://github.com/ejurgensen/forked-daapd/blob/master/README_JSON_API.md))
- curl with DAAP/DACP commands (hardest)
Using the JSON API is currently undocumented (TODO).
Here is an example of how to use curl with DAAP/DACP. Say you have a playlist
with a radio station, and you want to make a script that starts playback of that
station: