-
|
I have already found a simple enough way to access the HASS media player options for Search, PlayLists, Artist, etc and will be building out popup buttons for that shortly. This is about where the fun stops though and Im running into issues. Issue 1. Issue 2. Issue 3. I know there is currently a request for a Lovelace card specifically for MASS, but personally I think a DIY approach would be the better way to go. Just give all the pieces and let people build their own. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
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.

The new
mass.get_libraryandmass.get_queueactions should provide a solution to the above.Additionally for issue 2. An API is now available in MA 2.4. You can use curl or
rest_commandfrom HA to get all the items in the queue. The limit defaults to 500 if you omit it. You are cautioned to not set a value greater then 500 to avoid breaking your system. The practical limit will depend on the resources available on your host. Theplayer_idcan be found at the top of the player settings page in MA.