Slowly this has gotten more complicated and at this point implementing HLS properly would probably be better. Right now this parses all segments every loop and finds the next one by comparing segment URLs but ideally this would use a queue system that reflects the playlist instead.
Slowly this has gotten more complicated and at this point implementing HLS properly would probably be better. Right now this parses all segments every loop and finds the next one by comparing segment URLs but ideally this would use a queue system that reflects the playlist instead.