Somebody did this same question already. But the issue keeps happening on 22f. So going to 22f version won't be a solution for you. Xtreamui has lots of issues when creating 24/7 channels. What I did is. I've built a script from scratch that allows me to even use opening ending and transition videos. I added a web interface to create the channels from local or remote files using php, javascript, html and ffmpeg. And a php script that points to the link of the channel and prints the content of the segments similar to xtreamui ts playing function. So I put that link in xtreamui with a one minute delay and works perfectly. By doing it this way I have advantages, cause the channel can be played with or without opening and/or transition or to play videos in the order of creation or randomly and to limit to one connection per ip if I want to play the links directly without using xtreamui, and even adding videos to the channel is possible if new seasons comes out, etc. So I recommend you to do something like that. Doing this took me months of work. But If you're good at programming you'll be able to do it in a week or two maybe.