mirror of
https://github.com/thorsten-gehrig/alexa-remote-control.git
synced 2024-11-13 04:19:03 +01:00
5a7b395559
I'm having login problems since 4(?) days, forcing curl to use http1.1 solves this problem. This is verbose output of curl when using http2: { [5 bytes data] * Connection state changed (MAX_CONCURRENT_STREAMS updated)! } [5 bytes data] * We are completely uploaded and fine { [5 bytes data] * HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) * Curl_http_done: called premature == 1 * Closing connection 0 In my view this is related to the submitted Referer. But don't know how to fix this at the moment. |
||
---|---|---|
alexa_remote_control_plain.sh | ||
alexa_remote_control.sh | ||
alexa-pandora.sh | ||
README.md |
alexa-remote-control
control Amazon Alexa from command Line
alexa-remote-control [-d <device>|ALL] -e <pause|play|next|prev|fwd|rwd|shuffle|vol:<0-100>> |
-b [list|<\"AA:BB:CC:DD:EE:FF\">] | -q | -r <\"station name\"|stationid> |
-s <trackID> | -t <ASIN> | -u <seedID> | -v <queueID> | -w <playlistId> |
-i | -p | -a | -P | -S | -m <multiroom_device> [device_1 .. device_X] |
-lastalexa | -l | -h
-e : run command
-q : query queue
-b : connect/disconnect/list bluetooth device
-r : play tunein radio
-s : play library track
-t : play Prime playlist
-u : play Prime station
-v : play Prime historical queue
-w : play library playlist
-i : list imported library tracks
-p : list purchased library tracks
-P : list Prime playlists
-S : list Prime stations
-a : list available devices
-m : delete multiroom and/or create new multiroom containing devices
-lastalexa : print device that received the last voice command
-l : logoff
-h : help
There's also a "plain" version, which lacks some functionality (-i, -p, -P, -S and no radio station names) but doesn't require 'jq' for JSON processing.
http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html