Serial MP3 Player Help

Hello

When I enter the line:

sendCommand(CMD_PLAY_WITHVOLUME, 0X0F01);

to play the first file in my micro SD card, it will only play on the loop.
However, it continues to repeat this file after the delay has completed. I'd like it to stop so that my other sensors don't stop via the delay function. I am using this with a clock, so when it delays, the clock stops to play the file. If I remove the delay function, it will just keep repeating it.

Thank you.