Documentation
¶
Index ¶
Constants ¶
View Source
const ( XmlVersion = "1" Xmlns = "http://xspf.org/ns/0/" ContentType = "application/xspf+xml" )
Variables ¶
This section is empty.
Functions ¶
func BufferedGenerate ¶
Same as Generate, but save contents to bytes buffer instead of directly write it to stream
func EncodeXspf ¶ added in v0.3.0
Encode PlayList struct to xspf xml element without xml header
Types ¶
type PlayList ¶
type Track ¶
type Track struct {
Location string `xml:"location"`
Title string `xml:"title,omitempty"`
Creator string `xml:"creator,omitempty"`
Album string `xml:"album,omitempty"`
TrackNum string `xml:"trackNum,omitempty"`
Duration string `xml:"duration,omitempty"`
ImageExt string `xml:"-"`
Image string `xml:"image,omitempty"`
Annotation string `xml:"annotation,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.