I am having issues with playing redirected .m3u8 streams in XBMC/kodi. I have the following php script that i call it like this :
http://www.MyWebsite.com/getStream.php?channel=12
if i use the above link in kodi/xbmc it never plays it ! could any one tell me how to fix this issue and allow xbmc/kodi to play links like above? Should i add extra header?
<?
//rest of code that gets the actual stream url
$a="http://someRemoteWebsite.com/hls/stream12.m3u8?token=234324213243";
header("Location: " . $a);
?>