Merge master into release-2.2
This commit is contained in:
commit
d153e855f4
@ -19,13 +19,14 @@ HTTP POST API
|
||||
|
||||
The Mopidy web server accepts HTTP requests with the POST method to
|
||||
http://localhost:6680/mopidy/rpc, where the ``localhost:6680`` part will vary
|
||||
with your local setup. The HTTP POST endpoint gives you access to Mopidy's
|
||||
with your local setup. Your requests must also set the ``Content-Type`` header
|
||||
to ``application/json``. The HTTP POST endpoint gives you access to Mopidy's
|
||||
full core API, but does not give you notification on events. If you need
|
||||
to listen to events, you should probably use the WebSocket API instead.
|
||||
|
||||
Example usage from the command line::
|
||||
|
||||
$ curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.get_state"}' http://localhost:6680/mopidy/rpc
|
||||
$ curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.get_state"}' -H 'Content-Type: application/json' http://localhost:6680/mopidy/rpc
|
||||
{"jsonrpc": "2.0", "id": 1, "result": "stopped"}
|
||||
|
||||
For details on the request and response format, see :ref:`json-rpc`.
|
||||
|
||||
@ -252,6 +252,15 @@ Provides a backend for playing music from the `VKontakte social network
|
||||
<http://vk.com/>`_.
|
||||
|
||||
|
||||
Mopidy-YDisk
|
||||
============
|
||||
|
||||
https://github.com/vonZeppelin/mopidy-ydisk
|
||||
|
||||
Provides a backend for playing music from `Yandex.Disk cloud storage
|
||||
<https://disk.yandex.ru/>`_.
|
||||
|
||||
|
||||
Mopidy-YouTube
|
||||
==============
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user