How do I get a status of what i s playing with out setting volume, pausing, toggling or other active action?
curl -X POST -H "x-ha-access: password" \
-H "Content-Type: application/json" \
-d '{"entity_id": "media_player.apple_tv"}' \
http://192.168.0.111:8123/api/services/media_player/media_pause
I know that if I choose a non existing function like XYZ (see below) I will a response from the API as im asking for, but the delay is 5 - 10 seconds, while valid functions give an instant response.
curl -X POST -H "x-ha-access: password" \
-H "Content-Type: application/json" \
-d '{"entity_id": "media_player.apple_tv"}' \
http://192.168.0.111:8123/api/services/media_player/XYZ
Is there more functions (“MEDIA CONTROL SERVICES”) to the media_player API than stated at https://home-assistant.io/components/media_player/ or is there any ideas to see what is playing on the Apple TV at any time?
//Tonkin