player control
This commit is contained in:
@@ -12,18 +12,38 @@ https://github.com/mopidy/mopidy-spotify --> Configuration
|
|||||||
https://www.mopidy.com/authenticate/#spotify
|
https://www.mopidy.com/authenticate/#spotify
|
||||||
|
|
||||||
https://docs.mopidy.com/en/latest/ext/web/#mopidy-api-explorer
|
https://docs.mopidy.com/en/latest/ext/web/#mopidy-api-explorer
|
||||||
|
pip install Mopidy-API-Explorer
|
||||||
|
--> http://localhost:6680/api_explorer/
|
||||||
|
|
||||||
|
Dokumentation:
|
||||||
|
http://localhost:6680/api_explorer/#/library.search
|
||||||
|
https://docs.mopidy.com/en/latest/api/core/#mopidy.core.mopidy.core.LibraryController
|
||||||
|
|
||||||
|
https://docs.mopidy.com/en/latest/ext/file/
|
||||||
|
|
||||||
|
|
||||||
|
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.pause"}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.resume"}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
|
||||||
|
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.clear"}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
curl -X POST -H Content-Type:application/json -d '{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.add" , "params": {"uri": "spotify:user:tliero:playlist:08pbBkT5Vd2xXhxrMCVbAH"}}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.play"}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
|
||||||
|
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.clear"}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
curl -X POST -H Content-Type:application/json -d '{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.add" , "params": {"uri": "spotify:track:5tf1VVWniHgryyumXyJM7w"}}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.play"}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
|
||||||
|
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.clear"}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
curl -X POST -H Content-Type:application/json -d '{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.add" , "params": {"uri": "file:///home/tilman/Musik/04%20-%20The%20Funeral.mp3"}}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.play"}' http://127.0.0.1:6680/mopidy/rpc
|
||||||
|
|
||||||
|
|
||||||
https://open.spotify.com/track/3jQyadhLTxpxadQlkFh2b8
|
https://open.spotify.com/track/3jQyadhLTxpxadQlkFh2b8
|
||||||
https://open.spotify.com/episode/1o8HWRR0mx5TfyxLlnKv8e
|
https://open.spotify.com/episode/1o8HWRR0mx5TfyxLlnKv8e
|
||||||
https://open.spotify.com/show/4zQKHBLkM3puG5n3jAU2H4
|
https://open.spotify.com/show/4zQKHBLkM3puG5n3jAU2H4
|
||||||
https://open.spotify.com/album/0BajiiFeEZv9eEx07Hw2C0
|
https://open.spotify.com/album/0BajiiFeEZv9eEx07Hw2C0
|
||||||
|
|
||||||
|
ncmpcpp
|
||||||
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.pause"}' http://127.0.0.1:6680/mopidy/rpc
|
|
||||||
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.resume"}' http://127.0.0.1:6680/mopidy/rpc
|
|
||||||
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.clear"}' http://127.0.0.1:6680/mopidy/rpc
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Hardware
|
## Hardware
|
||||||
- PHAT DAC installieren - http://www.instructables.com/id/Multiroom-Client-With-Raspberry-Pi-ZERO-and-PHAT-D/?ALLSTEPS
|
- PHAT DAC installieren - http://www.instructables.com/id/Multiroom-Client-With-Raspberry-Pi-ZERO-and-PHAT-D/?ALLSTEPS
|
||||||
|
|||||||
Reference in New Issue
Block a user