Skip to content
Discussion options

You must be logged in to vote

From MA 2.4 there is an API (not yet documented) that can be used to change the crossfade state of the player. Get the player_id from the top of the player settings. Not this is not guaranteed to continue working as this API is not for general user consumption.

rest_command:
  ma_set_player_settings:
    url: http://localhost:8095/api
    method: POST
    headers:
      accept: "application/json, text/html"
    payload: >
      {
        "message_id": "1",
        "command": "config/players/save",
        "args": {
          "player_id": "b8:27:eb:8a:b8:8e",
          "values": {
            "crossfade": true
          }
        }
      }
    content_type:  'application/json; charset=utf-8'

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@anha7196
Comment options

@OzGav
Comment options

@anha7196
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by OzGav
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Alternate Solution Can be achieved via other means
2 participants