Added optional index parameter to play command.

Updated version of https://github.com/SoCo/SoCo/pull/81