Refactoring of parsing functions in progress (mediaplaylist refactored).