Universal Media Player media name

Hi everyone,

Very new to this, coming from a full Google Home setup and amazed at the customisability.

Hoping someone can help with my Media Player card setup.

I’ve got 3 Media Player cards as children in a universal media player card and on the whole it works great.

media_player:
   - platform: universal
     name: TV
     attributes:
       state: media_player.sony_bravia_tv
       source_list: input_select.tv_source|options
       source: media_player.sony_bravia_tv|source
       is_volume_muted: media_player.sony_bravia_tv|is_volume_muted
       volume_level: media_player.sony_bravia_tv|volume_level
     children:
       - media_player.chromecast
       - media_player.plex_plex_for_android_tv_bravia_4k_ur2
       - media_player.sony_bravia_tv
     commands:
       turn_on:
         service: media_player.turn_on
         target:
           entity_id: media_player.sony_bravia_tv
       turn_off:
         service: media_player.turn_off
         target:
           entity_id: media_player.sony_bravia_tv
       select_source:
         service: media_player.select_source
         data:
           source: '{{ source }}'
         target:
           entity_id: media_player.sony_bravia_tv
       volume_up:
         service: media_player.volume_up
         target:
           entity_id: media_player.sony_bravia_tv
       volume_down:
         service: media_player.volume_down
         target:
           entity_id: media_player.sony_bravia_tv
       volume_mute:
         service: media_player.volume_mute
         data:
           is_volume_muted: true
         target:
           entity_id: media_player.sony_bravia_tv
       volume_set:
         service: media_player.volume_set
         data:
           volume_level: '{{ volume_level}}'
         target:
           entity_id: media_player.sony_bravia_tv

So, if the Chromecast is playing it shows that, if the Plex card is playing it shows that and lastly it shows the Sony Bravia card if that’s playing. Which works great for TV channels but if we’re using an App it just shows “App”.

I also have an integration with Android TV which shows the actual app name, i.e. Disney+.

I’d like to show the Android TV app name only if the Sony Bravia Integration says “App”…

Any thoughts or input welcome!

Thanks,

David

1 Like