module Xmlplaylist:Generic xml playlist parsing modulesig
..end
This module implements basic playlist parsing for various xml formats.
Currently supported formats are:
podcast (rss), xspf, smil asx
type
error =
| |
XmlError of |
| |
Empty |
| |
UnknownType |
| |
Internal |
type
format =
| |
Podcast |
| |
Xspf |
| |
Smil |
| |
Asx |
exception Error of error
val string_of_error : error -> string
val tracks : string -> ((string * string) list * string) list
tracks data
performs whole process and
outputs a list of metadatas,uri
from given xml data string
All metadatas are what is provided by the playlist
The only variable name that is changed is the author
because each formats has its own field for that.
The module will use "artist"