Is it possible to cast custom sources with [media_player.play_media]?

I am trying to cast a custom source like this CP24 site or from my bell fibe tv.

I can cast from my phone and a bunch of data shows up on the state.

For example when i cast CNN from Bell Fibe TV app i get the following states under my chromecast device:

volume_level: 1
is_volume_muted: false
media_content_id: CNNHD
media_duration: -1
media_position: 5385.261652946472
media_position_updated_at: '2021-01-08T04:42:18.575150+00:00'
media_title: CNN HD
app_id: 460F1032
app_name: Fibe TV
entity_picture_local: >-
  /api/media_player_proxy/media_player.familytvchromecast?token=d05a96ac0f8cfb429f3268103b028b5aba6056159605d0488775c7dfc8666076&cache=b5a16111106bba24
friendly_name: Family Room Chromecast
entity_picture: >-
  //vcm.nscreen.iptv.bell.ca/api/artwork/v3/artworks/channel-logos/FIBE_CNNHD/5fd2bfbac2aacb000111fc38/768x576-scale@fit(200).png#LOGO_MONOCHROME
supported_features: 152463

Using the`media_player.play_media` documentation, i try and compy the youtube format and call a service like:

entity_id: media_player.my_chromecast
media_content_type: cast
media_content_id: '{"app_name": "Fibe TV","media_content_id": "CNNHD","media_title": "CNN HD","app_id": "460F1032",}'

This sucessfully opens the five app on my chromecast, but does not cast the channel.

MY QUESTION:

Is it possible to cast these sources with automation? If so, where do i get the correct data?

1 Like

Pretty sure chromecast will only do https source
Must also be web source I believe