func playlistMove(cmd *Cmd, conn *mpd.Client) (*Result, error) { if err := conn.PlaylistMove(cmd.Playlist, cmd.Id, cmd.Pos); err != nil { return nil, err } return playlistContents(cmd, conn) }