"jmatt0806" wrote:
My next problem: I only have one video to display on my Roku Channel and it's an M3U8 live stream that isn't always running. How can I handle this situation? Right now the feed status returns:
Required video url is unreachable.
If someone views my channel when the stream isn't running, I just need to have a splash page with times when it is running.
Ok, on the json file problem on your server, You need to setup the mime type json to be handled as a script file and not a txt file, something about the way the dp on roku reads the json file, I posted the steps on an IIS server 7.x+ a few days ago in these forums.
For the video url being unreachable.
on your server write script that creates the video file when the feed is down. on a hls script file it is just plain txt with the path to a video file.
For instance say the video url is
http://www.myserver/video.m3u8write a script (i prefer powershell for windows servers) that constantly runs and checks to make sure that file exists, if it exists make the script sleep for 30 seconds so as to not make your script saturate the cpu and create a file lock that prevents the actual feed from being created, if it doesn't exist then
simply create an m3u8 file that points to a standby video... m3u8 files are just txt srcipts that the video player reads to get the files to play. Then all is good..
http://www.TVByDemand.com