Chromecast bindings

I havn’t had much luck trying to get my Chromecast audio to play any local files.

  • I have tried mounting a share to the Raspberry Pi and using that location as URI
  • added network computer with the share in the hosts file and used that.
  • file:// , file:/// , file:///*insert mounted share
  • config samba and given full writes on the pc for all guests

The chrome cast will play any mp4 from a URL eg: http://techslides.com/demos/sample-videos/small.mp4 but I can not seem to get it to do anything bar playing something thats hosted online.

Could anyone provide any feedback on what I may be missing? Do I need to add something somewhere within Openhab2?

I should add that the Chromecast binding is installed and that is how I have been posting the eg: http://techslides.com/demos/sample-videos/small.mp4 which works… anything else I may put here doesn’t seem too…

My theory is if I can get it to work by just changing that string, I can create my own interface in HabPanel etc… I would prefer not to have to use my phone to Cast things too, i would love to use openhab to tell the chromecast audio to play from a network location or googlemusic etc.

Thank you