parse

fun parse(text: String, base: String): List<MediaItem>?

The items text names, its relative addresses resolved against base, the list's own address. Null when text is no playlist this reads, an HLS playlist included, which plays as one item. An empty PLS or XSPF list is an empty list.