2017-12-08 10:23:10 +01:00
|
|
|
# alexa-remote-control
|
|
|
|
control Amazon Alexa from command Line
|
|
|
|
|
|
|
|
[code]
|
|
|
|
alexa-remote-control [-d <device>|ALL] -e <pause|play|next|prev|fwd|rwd|shuffle|vol:<0-100>> |
|
|
|
|
-b [<\"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] | -l | -h
|
|
|
|
-e : run command
|
|
|
|
-q : query queue
|
|
|
|
-b : connect/disconnect 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
|
|
|
|
-l : logoff
|
|
|
|
-h : help
|
|
|
|
[/code]
|
|
|
|
|
|
|
|
There's also a "plain" version, which lacks some functionality (-P and -S) but doesn't need 'jq' for JSON processing.
|
|
|
|
|
|
|
|
http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html
|
|
|
|
|
|
|
|
|
|
|
|
|