Getting the image/art from media_player/androidtv as a generic camera

Late reply here but the solution marked in this post throws an error whenever there isn’t an entity_picture attribute available. The following should fix that.

- platform: generic
  name: Android Now Playing
  still_image_url: http://10.0.20.3:8123{{ state_attr('media_player.android_tv', 'entity_picture') }}

This is assuming that in the AndroidTV integration (or DebugBridge as it is now called) the option to acquire artwork via screenshots is set to CHECKED. Correct ?

Yes, I didn’t realize it but you do need that option checked.

I tried adding this but the yaml configuration is being deprecated and the ui is complaining about malformed url. Any ideas?

image