Both of the solution seems dumb to me. Can't you play a 24 hour video? AFAIK most media players prevent the computer from going to sleep. Or even better write a program that does it for you: https://stackoverflow.com/questions/34836406/how-to-prevent-...