Hi,Welcome to Just Answer, My name isXXXXX will be helping you with your appliance issue today.
are you able to reach in and spin the tub by hand? most likely if the motor is running and the machine is draining its the motor coupling. pretty simple and inexpensive repair.
You can do this yourself, if you click this link it will take you to the part and a video on how to replace this, http://www.repairclinic.com/PartDetail/Motor-Coupling/1195967 the part is under $14.00, thanks and well wishes, Bryan