Partially EXT-X-MEDIA parsing and generating.