Playing media files from my PC

I am looking on a automation to play a random “Friends” episode on to my TV via chromecast. On demand or during a specific time :slight_smile:

One thing I have bumped into, don’t know how to call the “media_content_id”

the below does not work, any ideas and workarounds.

{ “entity_id”:“media_player.chromecast”,
“media_content_id”:“file://pcname/sharefolder/friends_s01e01_.mkv”,
“media_content_type”:“video”}

So I got around it using my routers media share function.

now I can access them like “http://localip:8200/MediaItems/XX.mkv