-
|
Hi! I want to play a looping sleep sound track on my daughters Sonos player, triggered by pressing play on the Sonos device within a set time period. The automation works fine, but i need the track to loop and crossfade so that there is no jarring pauses in the sound. Looping works fine but i can't fine any way of enabling crossfade from within Home Assistant. Am i missing it or is not possible as of now? If i start the track from the MA interface and enable crossfade there it works fine. Thanks! /Anders |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
There is no HA action which enables crossfade. Crossfade remains enabled on the player once you set it so that is an option. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
There is now API documentation for the 2.7.0 beta and later versions of Music Assistant. The API documentation is automatically generated and available at http://your_ma_server_ip:8095/api-docs |
Beta Was this translation helpful? Give feedback.
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.