Going to sleep mode / Faded out while playing

I need some help with my raspberry pi. I’m using OSMC and I have a FTP server attach to my raspberry where I play a playlist with 6-8 videos 24/7 and the repeat all the time. When I go to sleep and turn off the TV, then next day I can see that the videos have stopped, and nothing is playing, and the raspberry is faded out and returned to the homescreen. Are there anyone who can tell me why? I thought it could because of updates at the night, but I have sat the updates to “never”.

Anyone who can help?

Well you would need to provide debug logs so that anyone would have a chance to help.
Also have you configured repeat function?