Does anyone know of a way to determine the current playing provider that is being used in Music Assistant, in such a way that I can use that as a value in a dashboard?
To clarify, I can use something like {{state_attr('media_player.voice1_media_player','entity_picture')}} to display the artwork of the currently playing song. How can I show/display which provider is currently being used to supply that music?
It turns out there IS an existing solution to this problem. I commented on the New Feature discussion list for Music Assistant and OzGav kindly pointed me in the right direction.
In Developer Tools, if one runs the music_assistant.get_queue action, pointed at the media_player of choice, you get all kinds of details about the current queue, including a “provider” under “stream details.”