if timer.totalseconds() > 14400 then return -1 'exit video after four hours of play
msg = wait(100, video.GetMessagePort())
if type(msg) = "roVideoScreenEvent"
if msg.isstreamstarted() then
else if msg.isScreenClosed() then 'ScreenClosed event
print "Closing video screen"
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.