Move M3U8 handling to existing classes