func listPlaylists(_ *Cmd, conn *mpd.Client) (r *Result, err error) { lists, err := conn.ListPlaylists() if err == nil { r = NewResult("StoredPlaylists", lists) } return }