I have a link to a .m3u8 file. How would I play this on my Raspberry Pi that has OSMC installed?
Put it in a text file and rename the file extenstion to .strm. Browse to it in your video library and click on it.
http://kodi.wiki/view/Internet_video_and_audio_streams
You can also play it through the IPTV.Simple PVR add-on.