Chromecast Integration is a built-in app written by @mike.maxwell. Here's how to use it.
If you store a file on github, if it's made public, you can just put the url in for the string value and it will play from consistently as long as you have internet.