Ok I see what you’re doing now. I don’t need to create a playlist to get them out to the client. I just need to supply an address and port number to Kodi PVR Live TV and can access them like you would on a set top box receiver. Might be worth your while checking out Kodi here
https://kodi.tv/download/