Will work, but won't it stop the video stream for those who are watching TV normally after 4 hours? Or can the code be modified to place a message that "In 10 minutes the screen will automatically close to conserve bandwidth". Please, Press OK to Continue" If no response it will close.
Yeah, but that would be admitting to the world that u iz po and broke, now why would you want to do that?
Never let em see ya sweat!
Just close it after 4 hours, and then if they fall asleep, cool, if it is in the middle of a VOD program, then they might be a little annoyed. If it is the middle of a live program, then they might be ***really*** annoyed if they can't get back to what they missed... might want to write something more complex like:
if the program has been running for 4 hours
if it is not in the middle of a show then end
else wait till time=showEndTime then quit
Something like that, but you'll have to keep track of show start/end times on your server.