Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlaylistParser ¶
type PlaylistParser interface { // ParsePlaylist parses a playlist and return a map of path of music files. ParsePlaylist(playlist string) (map[string][]string, error) }
func GetParser ¶
func GetParser(playlist string) PlaylistParser
func NewPlsParser ¶
func NewPlsParser() PlaylistParser
func NewRhythmboxParser ¶
func NewRhythmboxParser() PlaylistParser
type RhythmboxParser ¶
type RhythmboxParser struct{}
func (RhythmboxParser) ParsePlaylist ¶
func (p RhythmboxParser) ParsePlaylist(playlistPath string) (map[string][]string, error)
type RhythmboxPlaylist ¶
type RhythmboxPlaylists ¶
type RhythmboxPlaylists struct {
Playlists []RhythmboxPlaylist `xml:"playlist"`
}
Click to show internal directories.
Click to hide internal directories.