Cast Radio X London to a Chromecast audio

Hi, I’m trying to setup a script that casts Radio X London to a chromecast audio.

I’ve managed to do it for BBC Radio 1, but can’t get the Radio X version to work. It’s app is ‘Global Player Live’, but I can’t see the exact Media_ID or if it needs ‘is_live: true’ to work.

Any tips most welcome.

radio1:
    sequence:
      - service: media_player.volume_set
        data:
          entity_id: media_player.kitchenspeaker
          volume_level: '0.15'      
      - service: media_player.play_media
        target:
          entity_id: media_player.kitchenspeaker
        data:
          media_content_type: cast
          media_content_id: '
            {
              "app_name": "bbcsounds",
              "media_id": "bbc_radio_one",
              "is_live": true
            }'
##################################################
radiox:
    sequence:
      - service: media_player.volume_set
        data:
          entity_id: media_player.kitchenspeaker
          volume_level: '0.15'      
      - service: media_player.play_media
        target:
          entity_id: media_player.kitchenspeaker
        data:
          media_content_type: cast
          media_content_id: '
            {
              "app_name": "globalplayerlive",
              "media_id": "radioxlondon",
            }'
################################################## ```
1 Like